home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX 2e document text
| default
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| LaTeX auxiliary file, ASCII text
| default
| |
100%
| TrID
| LaTeX 2e document (with rem)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 0a 25 20 5c 69 66 66 | 61 6c 73 65 0a 25 0a 25 |%.% \iff|alse.%.%|
|00000010| 25 20 63 6f 6c 6f 72 2e | 64 74 78 20 43 6f 70 79 |% color.|dtx Copy|
|00000020| 72 69 67 68 74 20 28 43 | 29 20 31 39 39 34 20 44 |right (C|) 1994 D|
|00000030| 61 76 69 64 20 43 61 72 | 6c 69 73 6c 65 0a 25 25 |avid Car|lisle.%%|
|00000040| 0a 25 25 20 54 68 69 73 | 20 66 69 6c 65 20 69 73 |.%% This| file is|
|00000050| 20 70 61 72 74 20 6f 66 | 20 74 68 65 20 53 74 61 | part of| the Sta|
|00000060| 6e 64 61 72 64 20 4c 61 | 54 65 58 20 60 47 72 61 |ndard La|TeX `Gra|
|00000070| 70 68 69 63 73 20 42 75 | 6e 64 6c 65 27 2e 0a 25 |phics Bu|ndle'..%|
|00000080| 25 0a 25 25 20 49 74 20 | 73 68 6f 75 6c 64 20 62 |%.%% It |should b|
|00000090| 65 20 64 69 73 74 72 69 | 62 75 74 65 64 20 2a 75 |e distri|buted *u|
|000000a0| 6e 63 68 61 6e 67 65 64 | 2a 20 61 6e 64 20 74 6f |nchanged|* and to|
|000000b0| 67 65 74 68 65 72 20 77 | 69 74 68 20 61 6c 6c 20 |gether w|ith all |
|000000c0| 6f 74 68 65 72 0a 25 25 | 20 66 69 6c 65 73 20 69 |other.%%| files i|
|000000d0| 6e 20 74 68 65 20 67 72 | 61 70 68 69 63 73 20 62 |n the gr|aphics b|
|000000e0| 75 6e 64 6c 65 2e 20 54 | 68 65 20 66 69 6c 65 20 |undle. T|he file |
|000000f0| 30 30 72 65 61 64 6d 65 | 2e 74 78 74 20 63 6f 6e |00readme|.txt con|
|00000100| 74 61 69 6e 73 20 61 20 | 6c 69 73 74 0a 25 25 20 |tains a |list.%% |
|00000110| 6f 66 20 61 6c 6c 20 6f | 66 20 74 68 65 73 65 20 |of all o|f these |
|00000120| 66 69 6c 65 73 2e 0a 25 | 25 0a 25 25 20 41 20 6d |files..%|%.%% A m|
|00000130| 6f 64 69 66 69 65 64 20 | 76 65 72 73 69 6f 6e 20 |odified |version |
|00000140| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 6d 61 79 |of this |file may|
|00000150| 20 62 65 20 64 69 73 74 | 72 69 62 75 74 65 64 2c | be dist|ributed,|
|00000160| 20 62 75 74 20 69 74 20 | 73 68 6f 75 6c 64 0a 25 | but it |should.%|
|00000170| 25 20 62 65 20 64 69 73 | 74 72 69 62 75 74 65 64 |% be dis|tributed|
|00000180| 20 77 69 74 68 20 61 20 | 2a 64 69 66 66 65 72 65 | with a |*differe|
|00000190| 6e 74 2a 20 6e 61 6d 65 | 2e 20 43 68 61 6e 67 65 |nt* name|. Change|
|000001a0| 64 20 66 69 6c 65 73 20 | 6d 75 73 74 20 62 65 0a |d files |must be.|
|000001b0| 25 25 20 64 69 73 74 72 | 69 62 75 74 65 64 20 2a |%% distr|ibuted *|
|000001c0| 74 6f 67 65 74 68 65 72 | 20 77 69 74 68 20 61 20 |together| with a |
|000001d0| 63 6f 6d 70 6c 65 74 65 | 20 61 6e 64 20 75 6e 63 |complete| and unc|
|000001e0| 68 61 6e 67 65 64 2a 20 | 64 69 73 74 72 69 62 75 |hanged* |distribu|
|000001f0| 74 69 6f 6e 0a 25 25 20 | 6f 66 20 74 68 65 73 65 |tion.%% |of these|
|00000200| 20 66 69 6c 65 73 2e 0a | 25 25 0a 25 3c 2a 64 74 | files..|%%.%<*dt|
|00000210| 78 3e 0a 20 20 20 20 20 | 20 20 20 20 20 5c 50 72 |x>. | \Pr|
|00000220| 6f 76 69 64 65 73 46 69 | 6c 65 7b 63 6f 6c 6f 72 |ovidesFi|le{color|
|00000230| 2e 64 74 78 7d 0a 25 3c | 2f 64 74 78 3e 0a 25 3c |.dtx}.%<|/dtx>.%<|
|00000240| 70 61 63 6b 61 67 65 3e | 5c 4e 65 65 64 73 54 65 |package>|\NeedsTe|
|00000250| 58 46 6f 72 6d 61 74 7b | 4c 61 54 65 58 32 65 7d |XFormat{|LaTeX2e}|
|00000260| 5b 31 39 39 34 2f 31 32 | 2f 30 31 5d 0a 25 3c 70 |[1994/12|/01].%<p|
|00000270| 61 63 6b 61 67 65 3e 5c | 50 72 6f 76 69 64 65 73 |ackage>\|Provides|
|00000280| 50 61 63 6b 61 67 65 7b | 63 6f 6c 6f 72 7d 0a 25 |Package{|color}.%|
|00000290| 3c 64 72 69 76 65 72 3e | 20 5c 50 72 6f 76 69 64 |<driver>| \Provid|
|000002a0| 65 73 46 69 6c 65 7b 63 | 6f 6c 6f 72 2e 64 72 76 |esFile{c|olor.drv|
|000002b0| 7d 0a 25 20 5c 66 69 0a | 25 20 20 20 20 20 20 20 |}.% \fi.|% |
|000002c0| 20 20 5c 50 72 6f 76 69 | 64 65 73 46 69 6c 65 7b | \Provi|desFile{|
|000002d0| 63 6f 6c 6f 72 2e 64 74 | 78 7d 0a 20 20 20 20 20 |color.dt|x}. |
|000002e0| 20 20 20 20 20 5b 31 39 | 39 34 2f 31 31 2f 32 32 | [19|94/11/22|
|000002f0| 20 76 30 2e 33 68 20 53 | 74 61 6e 64 61 72 64 20 | v0.3h S|tandard |
|00000300| 4c 61 54 65 58 20 43 6f | 6c 6f 72 20 28 44 50 43 |LaTeX Co|lor (DPC|
|00000310| 29 5d 0a 25 0a 25 20 5c | 69 66 66 61 6c 73 65 0a |)].%.% \|iffalse.|
|00000320| 25 3c 2a 64 72 69 76 65 | 72 3e 0a 5c 64 6f 63 75 |%<*drive|r>.\docu|
|00000330| 6d 65 6e 74 63 6c 61 73 | 73 7b 6c 74 78 64 6f 63 |mentclas|s{ltxdoc|
|00000340| 7d 0a 5c 62 65 67 69 6e | 7b 64 6f 63 75 6d 65 6e |}.\begin|{documen|
|00000350| 74 7d 0a 20 5c 44 6f 63 | 49 6e 70 75 74 7b 63 6f |t}. \Doc|Input{co|
|00000360| 6c 6f 72 2e 64 74 78 7d | 0a 5c 65 6e 64 7b 64 6f |lor.dtx}|.\end{do|
|00000370| 63 75 6d 65 6e 74 7d 0a | 25 3c 2f 64 72 69 76 65 |cument}.|%</drive|
|00000380| 72 3e 0a 25 20 5c 66 69 | 0a 25 0a 25 20 5c 47 65 |r>.% \fi|.%.% \Ge|
|00000390| 74 46 69 6c 65 49 6e 66 | 6f 7b 63 6f 6c 6f 72 2e |tFileInf|o{color.|
|000003a0| 64 74 78 7d 0a 25 0a 25 | 20 5c 74 69 74 6c 65 7b |dtx}.%.%| \title{|
|000003b0| 54 68 65 20 5c 74 65 78 | 74 73 66 7b 63 6f 6c 6f |The \tex|tsf{colo|
|000003c0| 72 7d 20 70 61 63 6b 61 | 67 65 5c 74 68 61 6e 6b |r} packa|ge\thank|
|000003d0| 73 7b 54 68 69 73 20 66 | 69 6c 65 0a 25 20 20 20 |s{This f|ile.% |
|000003e0| 20 20 20 20 20 68 61 73 | 20 76 65 72 73 69 6f 6e | has| version|
|000003f0| 20 6e 75 6d 62 65 72 20 | 5c 66 69 6c 65 76 65 72 | number |\filever|
|00000400| 73 69 6f 6e 2c 20 6c 61 | 73 74 0a 25 20 20 20 20 |sion, la|st.% |
|00000410| 20 20 20 20 72 65 76 69 | 73 65 64 20 5c 66 69 6c | revi|sed \fil|
|00000420| 65 64 61 74 65 2e 7d 7d | 0a 25 20 5c 61 75 74 68 |edate.}}|.% \auth|
|00000430| 6f 72 7b 44 2e 20 50 2e | 20 43 61 72 6c 69 73 6c |or{D. P.| Carlisl|
|00000440| 65 7d 0a 25 20 5c 64 61 | 74 65 7b 5c 66 69 6c 65 |e}.% \da|te{\file|
|00000450| 64 61 74 65 7d 0a 25 20 | 5c 6d 61 6b 65 74 69 74 |date}.% |\maketit|
|00000460| 6c 65 0a 25 0a 25 20 5c | 43 68 65 63 6b 53 75 6d |le.%.% \|CheckSum|
|00000470| 7b 34 32 37 7d 0a 25 0a | 25 0a 25 20 5c 74 69 74 |{427}.%.|%.% \tit|
|00000480| 6c 65 7b 54 68 65 20 69 | 6d 70 6c 65 6d 65 6e 74 |le{The i|mplement|
|00000490| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 5c 4c 61 |ation of| the \La|
|000004a0| 54 65 58 5c 20 43 6f 6c | 6f 75 72 20 69 6e 74 65 |TeX\ Col|our inte|
|000004b0| 72 66 61 63 65 2e 7d 0a | 25 0a 25 20 5c 53 74 6f |rface.}.|%.% \Sto|
|000004c0| 70 45 76 65 6e 74 75 61 | 6c 6c 79 7b 7d 0a 25 0a |pEventua|lly{}.%.|
|000004d0| 25 0a 25 20 5c 73 65 63 | 74 69 6f 6e 7b 4f 70 74 |%.% \sec|tion{Opt|
|000004e0| 69 6f 6e 73 7d 0a 25 0a | 25 20 5c 63 68 61 6e 67 |ions}.%.|% \chang|
|000004f0| 65 73 7b 76 30 2e 32 61 | 7d 7b 31 39 39 34 2f 30 |es{v0.2a|}{1994/0|
|00000500| 34 2f 31 33 7d 0a 25 20 | 20 20 20 20 7b 54 45 4d |4/13}.% | {TEM|
|00000510| 50 20 4b 4c 55 44 47 45 | 20 66 6f 72 20 46 65 62 |P KLUDGE| for Feb|
|00000520| 20 39 34 20 72 65 6c 65 | 61 73 65 20 6f 66 20 32 | 94 rele|ase of 2|
|00000530| 65 3a 20 0a 25 20 20 20 | 20 20 20 41 64 64 20 65 |e: .% | Add e|
|00000540| 78 74 72 61 20 67 72 6f | 75 70 73 7d 0a 25 20 5c |xtra gro|ups}.% \|
|00000550| 63 68 61 6e 67 65 73 7b | 76 30 2e 32 64 7d 7b 31 |changes{|v0.2d}{1|
|00000560| 39 39 34 2f 30 35 2f 31 | 33 7d 0a 25 20 20 20 20 |994/05/1|3}.% |
|00000570| 20 7b 41 6c 6c 20 73 75 | 70 70 6f 72 74 20 66 6f | {All su|pport fo|
|00000580| 72 20 46 65 62 20 31 39 | 39 34 20 72 65 6c 65 61 |r Feb 19|94 relea|
|00000590| 73 65 20 72 65 6d 6f 76 | 65 64 20 28 73 6f 20 75 |se remov|ed (so u|
|000005a0| 73 65 64 20 6f 70 74 69 | 6f 6e 61 6c 20 61 72 67 |sed opti|onal arg|
|000005b0| 0a 25 20 20 20 20 20 6f | 66 20 5c 63 73 7b 4e 65 |.% o|f \cs{Ne|
|000005c0| 65 64 73 54 65 58 46 6f | 72 6d 61 74 7d 29 2e 7d |edsTeXFo|rmat}).}|
|000005d0| 0a 25 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |.%.% |\begin{m|
|000005e0| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 3c 2a 70 61 63 |acrocode|}.%<*pac|
|000005f0| 6b 61 67 65 3e 0a 25 20 | 20 20 20 5c 65 6e 64 7b |kage>.% | \end{|
|00000600| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 0a 25 20 46 |macrocod|e}.%.% F|
|00000610| 69 72 73 74 20 77 65 20 | 73 61 76 65 20 74 68 65 |irst we |save the|
|00000620| 20 63 61 74 63 6f 64 65 | 73 20 6f 66 20 73 6f 6d | catcode|s of som|
|00000630| 65 20 63 68 61 72 61 63 | 74 65 72 73 2c 20 61 6e |e charac|ters, an|
|00000640| 64 20 73 65 74 20 74 68 | 65 6d 20 74 6f 0a 25 20 |d set th|em to.% |
|00000650| 66 69 78 65 64 20 76 61 | 6c 75 65 73 20 77 68 69 |fixed va|lues whi|
|00000660| 6c 73 74 20 74 68 69 73 | 20 66 69 6c 65 20 69 73 |lst this| file is|
|00000670| 20 62 65 69 6e 67 20 72 | 65 61 64 2e 0a 25 20 5c | being r|ead..% \|
|00000680| 63 68 61 6e 67 65 73 7b | 76 30 2e 33 62 7d 7b 31 |changes{|v0.3b}{1|
|00000690| 39 39 34 2f 30 39 2f 31 | 34 7d 0a 25 20 20 20 20 |994/09/1|4}.% |
|000006a0| 20 7b 53 61 76 65 20 61 | 6e 64 20 72 65 73 74 6f | {Save a|nd resto|
|000006b0| 72 65 20 63 61 74 63 6f | 64 65 73 7d 0a 25 20 20 |re catco|des}.% |
|000006c0| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|000006d0| 64 65 7d 0a 5c 65 64 65 | 66 5c 47 69 6e 40 63 6f |de}.\ede|f\Gin@co|
|000006e0| 64 65 73 7b 25 0a 20 5c | 63 61 74 63 6f 64 65 60 |des{%. \|catcode`|
|000006f0| 5c 6e 6f 65 78 70 61 6e | 64 5c 5e 5e 41 5c 74 68 |\noexpan|d\^^A\th|
|00000700| 65 5c 63 61 74 63 6f 64 | 65 60 5c 5e 5e 41 5c 72 |e\catcod|e`\^^A\r|
|00000710| 65 6c 61 78 0a 20 5c 63 | 61 74 63 6f 64 65 60 5c |elax. \c|atcode`\|
|00000720| 6e 6f 65 78 70 61 6e 64 | 5c 22 5c 74 68 65 5c 63 |noexpand|\"\the\c|
|00000730| 61 74 63 6f 64 65 60 5c | 22 5c 72 65 6c 61 78 0a |atcode`\|"\relax.|
|00000740| 20 5c 63 61 74 63 6f 64 | 65 60 5c 6e 6f 65 78 70 | \catcod|e`\noexp|
|00000750| 61 6e 64 5c 2a 5c 74 68 | 65 5c 63 61 74 63 6f 64 |and\*\th|e\catcod|
|00000760| 65 60 5c 2a 5c 72 65 6c | 61 78 0a 20 5c 63 61 74 |e`\*\rel|ax. \cat|
|00000770| 63 6f 64 65 60 5c 6e 6f | 65 78 70 61 6e 64 5c 21 |code`\no|expand\!|
|00000780| 5c 74 68 65 5c 63 61 74 | 63 6f 64 65 60 5c 21 5c |\the\cat|code`\!\|
|00000790| 72 65 6c 61 78 0a 20 5c | 63 61 74 63 6f 64 65 60 |relax. \|catcode`|
|000007a0| 5c 6e 6f 65 78 70 61 6e | 64 5c 3a 5c 74 68 65 5c |\noexpan|d\:\the\|
|000007b0| 63 61 74 63 6f 64 65 60 | 5c 3a 5c 72 65 6c 61 78 |catcode`|\:\relax|
|000007c0| 7d 0a 5c 63 61 74 63 6f | 64 65 60 5c 5e 5e 41 3d |}.\catco|de`\^^A=|
|000007d0| 5c 63 61 74 63 6f 64 65 | 60 5c 25 0a 5c 63 61 74 |\catcode|`\%.\cat|
|000007e0| 63 6f 64 65 60 5c 22 3d | 31 32 0a 5c 63 61 74 63 |code`\"=|12.\catc|
|000007f0| 6f 64 65 60 5c 2a 3d 31 | 31 0a 5c 63 61 74 63 6f |ode`\*=1|1.\catco|
|00000800| 64 65 60 5c 21 3d 31 32 | 0a 5c 63 61 74 63 6f 64 |de`\!=12|.\catcod|
|00000810| 65 60 5c 3a 3d 31 32 0a | 25 20 20 20 20 5c 65 6e |e`\:=12.|% \en|
|00000820| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 0a 25 |d{macroc|ode}.%.%|
|00000830| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00000840| 63 6f 64 65 7d 0a 5c 70 | 72 6f 76 69 64 65 63 6f |code}.\p|rovideco|
|00000850| 6d 6d 61 6e 64 5c 47 69 | 6e 40 64 72 69 76 65 72 |mmand\Gi|n@driver|
|00000860| 7b 7d 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |{}.% |\end{mac|
|00000870| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 20 54 68 65 20 |rocode}.|%.% The |
|00000880| 7c 6d 6f 6e 6f 63 68 72 | 6f 6d 65 7c 20 73 68 6f ||monochr|ome| sho|
|00000890| 75 6c 64 20 62 65 20 75 | 73 65 64 20 5c 65 6d 70 |uld be u|sed \emp|
|000008a0| 68 7b 69 6e 20 61 64 64 | 69 74 69 6f 6e 7d 20 74 |h{in add|ition} t|
|000008b0| 6f 20 6f 6e 65 20 6f 66 | 20 74 68 65 0a 25 20 73 |o one of| the.% s|
|000008c0| 74 61 6e 64 61 72 64 20 | 64 72 69 76 65 72 20 6f |tandard |driver o|
|000008d0| 70 74 69 6f 6e 73 2e 0a | 25 20 20 20 20 5c 62 65 |ptions..|% \be|
|000008e0| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|000008f0| 44 65 63 6c 61 72 65 4f | 70 74 69 6f 6e 7b 6d 6f |DeclareO|ption{mo|
|00000900| 6e 6f 63 68 72 6f 6d 65 | 7d 7b 25 0a 20 20 5c 41 |nochrome|}{%. \A|
|00000910| 74 45 6e 64 4f 66 50 61 | 63 6b 61 67 65 7b 25 0a |tEndOfPa|ckage{%.|
|00000920| 20 20 20 20 5c 64 65 66 | 5c 73 65 74 40 63 6f 6c | \def|\set@col|
|00000930| 6f 72 7b 25 0a 20 20 20 | 20 20 20 5c 63 40 6c 6f |or{%. | \c@lo|
|00000940| 72 40 73 70 65 63 69 61 | 6c 5c 6d 40 6e 65 0a 20 |r@specia|l\m@ne. |
|00000950| 20 20 20 20 20 20 20 7b | 63 6f 6c 6f 72 20 70 75 | {|color pu|
|00000960| 73 68 20 5c 63 75 72 72 | 65 6e 74 40 63 6f 6c 6f |sh \curr|ent@colo|
|00000970| 72 7d 5c 61 66 74 65 72 | 67 72 6f 75 70 5c 72 65 |r}\after|group\re|
|00000980| 73 65 74 40 63 6f 6c 6f | 72 7d 25 0a 20 20 20 20 |set@colo|r}%. |
|00000990| 5c 64 65 66 5c 72 65 73 | 65 74 40 63 6f 6c 6f 72 |\def\res|et@color|
|000009a0| 7b 5c 63 40 6c 6f 72 40 | 73 70 65 63 69 61 6c 5c |{\c@lor@|special\|
|000009b0| 6d 40 6e 65 7b 63 6f 6c | 6f 72 20 70 6f 70 7d 7d |m@ne{col|or pop}}|
|000009c0| 25 0a 20 20 20 20 5c 64 | 65 66 5c 73 65 74 40 70 |%. \d|ef\set@p|
|000009d0| 61 67 65 40 63 6f 6c 6f | 72 7b 25 0a 20 20 20 20 |age@colo|r{%. |
|000009e0| 20 20 5c 63 40 6c 6f 72 | 40 73 70 65 63 69 61 6c | \c@lor|@special|
|000009f0| 5c 6d 40 6e 65 7b 62 61 | 63 6b 67 72 6f 75 6e 64 |\m@ne{ba|ckground|
|00000a00| 20 5c 63 75 72 72 65 6e | 74 40 63 6f 6c 6f 72 7d | \curren|t@color}|
|00000a10| 7d 25 0a 20 20 20 20 5c | 64 65 66 5c 64 65 66 69 |}%. \|def\defi|
|00000a20| 6e 65 40 63 6f 6c 6f 72 | 23 23 31 23 23 32 7b 25 |ne@color|##1##2{%|
|00000a30| 0a 20 20 20 20 20 20 5c | 63 40 6c 6f 72 40 73 70 |. \|c@lor@sp|
|00000a40| 65 63 69 61 6c 5c 6d 40 | 6e 65 7b 64 65 66 69 6e |ecial\m@|ne{defin|
|00000a50| 65 20 23 23 31 20 23 23 | 32 7d 7d 7d 7d 0a 25 20 |e ##1 ##|2}}}}.% |
|00000a60| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|00000a70| 65 7d 0a 25 0a 25 0a 25 | 20 4e 6f 77 20 74 68 65 |e}.%.%.%| Now the|
|00000a80| 20 6f 70 74 69 6f 6e 73 | 20 66 6f 72 20 73 75 70 | options| for sup|
|00000a90| 70 6f 72 74 65 64 20 64 | 72 69 76 65 72 73 2e 0a |ported d|rivers..|
|00000aa0| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|00000ab0| 6f 63 6f 64 65 7d 0a 5c | 44 65 63 6c 61 72 65 4f |ocode}.\|DeclareO|
|00000ac0| 70 74 69 6f 6e 7b 64 76 | 69 70 73 7d 7b 5c 64 65 |ption{dv|ips}{\de|
|00000ad0| 66 5c 47 69 6e 40 64 72 | 69 76 65 72 7b 64 76 69 |f\Gin@dr|iver{dvi|
|00000ae0| 70 73 2e 64 65 66 7d 25 | 0a 20 20 20 20 20 20 20 |ps.def}%|. |
|00000af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5c | | \|
|00000b00| 64 65 66 5c 63 40 6c 6f | 72 40 6e 61 6d 65 66 69 |def\c@lo|r@namefi|
|00000b10| 6c 65 7b 64 76 69 70 73 | 6e 61 6d 2e 64 65 66 7d |le{dvips|nam.def}|
|00000b20| 7d 0a 5c 44 65 63 6c 61 | 72 65 4f 70 74 69 6f 6e |}.\Decla|reOption|
|00000b30| 7b 78 64 76 69 7d 7b 5c | 45 78 65 63 75 74 65 4f |{xdvi}{\|ExecuteO|
|00000b40| 70 74 69 6f 6e 73 7b 64 | 76 69 70 73 2c 6d 6f 6e |ptions{d|vips,mon|
|00000b50| 6f 63 68 72 6f 6d 65 7d | 7d 0a 5c 44 65 63 6c 61 |ochrome}|}.\Decla|
|00000b60| 72 65 4f 70 74 69 6f 6e | 7b 64 76 67 74 7d 7b 5c |reOption|{dvgt}{\|
|00000b70| 64 65 66 5c 47 69 6e 40 | 64 72 69 76 65 72 7b 64 |def\Gin@|driver{d|
|00000b80| 76 67 74 2e 64 65 66 7d | 7d 0a 5c 44 65 63 6c 61 |vgt.def}|}.\Decla|
|00000b90| 72 65 4f 70 74 69 6f 6e | 7b 64 76 69 32 70 73 7d |reOption|{dvi2ps}|
|00000ba0| 7b 5c 64 65 66 5c 47 69 | 6e 40 64 72 69 76 65 72 |{\def\Gi|n@driver|
|00000bb0| 7b 64 76 69 32 70 73 2e | 64 65 66 7d 7d 0a 5c 44 |{dvi2ps.|def}}.\D|
|00000bc0| 65 63 6c 61 72 65 4f 70 | 74 69 6f 6e 7b 64 76 69 |eclareOp|tion{dvi|
|00000bd0| 61 6c 77 7d 7b 5c 64 65 | 66 5c 47 69 6e 40 64 72 |alw}{\de|f\Gin@dr|
|00000be0| 69 76 65 72 7b 64 76 69 | 61 6c 77 2e 64 65 66 7d |iver{dvi|alw.def}|
|00000bf0| 7d 0a 5c 44 65 63 6c 61 | 72 65 4f 70 74 69 6f 6e |}.\Decla|reOption|
|00000c00| 7b 64 76 69 6c 61 73 65 | 72 7d 7b 5c 64 65 66 5c |{dvilase|r}{\def\|
|00000c10| 47 69 6e 40 64 72 69 76 | 65 72 7b 64 76 69 6c 61 |Gin@driv|er{dvila|
|00000c20| 73 65 72 2e 64 65 66 7d | 7d 0a 5c 44 65 63 6c 61 |ser.def}|}.\Decla|
|00000c30| 72 65 4f 70 74 69 6f 6e | 7b 64 76 69 70 73 6f 6e |reOption|{dvipson|
|00000c40| 65 7d 7b 5c 64 65 66 5c | 47 69 6e 40 64 72 69 76 |e}{\def\|Gin@driv|
|00000c50| 65 72 7b 64 76 69 70 73 | 6f 6e 65 2e 64 65 66 7d |er{dvips|one.def}|
|00000c60| 7d 0a 5c 44 65 63 6c 61 | 72 65 4f 70 74 69 6f 6e |}.\Decla|reOption|
|00000c70| 7b 64 76 69 74 6f 70 73 | 7d 7b 5c 64 65 66 5c 47 |{dvitops|}{\def\G|
|00000c80| 69 6e 40 64 72 69 76 65 | 72 7b 64 76 69 74 6f 70 |in@drive|r{dvitop|
|00000c90| 73 2e 64 65 66 7d 7d 0a | 5c 44 65 63 6c 61 72 65 |s.def}}.|\Declare|
|00000ca0| 4f 70 74 69 6f 6e 7b 64 | 76 69 77 69 6e 64 6f 7d |Option{d|viwindo}|
|00000cb0| 7b 5c 64 65 66 5c 47 69 | 6e 40 64 72 69 76 65 72 |{\def\Gi|n@driver|
|00000cc0| 7b 64 76 69 77 69 6e 64 | 6f 2e 64 65 66 7d 7d 0a |{dviwind|o.def}}.|
|00000cd0| 5c 44 65 63 6c 61 72 65 | 4f 70 74 69 6f 6e 7b 65 |\Declare|Option{e|
|00000ce0| 6d 74 65 78 7d 7b 5c 64 | 65 66 5c 47 69 6e 40 64 |mtex}{\d|ef\Gin@d|
|00000cf0| 72 69 76 65 72 7b 65 6d | 74 65 78 2e 64 65 66 7d |river{em|tex.def}|
|00000d00| 7d 0a 5c 44 65 63 6c 61 | 72 65 4f 70 74 69 6f 6e |}.\Decla|reOption|
|00000d10| 7b 64 76 69 77 69 6e 7d | 7b 5c 64 65 66 5c 47 69 |{dviwin}|{\def\Gi|
|00000d20| 6e 40 64 72 69 76 65 72 | 7b 64 76 69 77 69 6e 2e |n@driver|{dviwin.|
|00000d30| 64 65 66 7d 7d 0a 5c 44 | 65 63 6c 61 72 65 4f 70 |def}}.\D|eclareOp|
|00000d40| 74 69 6f 6e 7b 6f 7a 74 | 65 78 7d 7b 5c 64 65 66 |tion{ozt|ex}{\def|
|00000d50| 5c 47 69 6e 40 64 72 69 | 76 65 72 7b 6f 7a 74 65 |\Gin@dri|ver{ozte|
|00000d60| 78 2e 64 65 66 7d 7d 0a | 5c 44 65 63 6c 61 72 65 |x.def}}.|\Declare|
|00000d70| 4f 70 74 69 6f 6e 7b 70 | 73 70 72 69 6e 74 7d 7b |Option{p|sprint}{|
|00000d80| 5c 64 65 66 5c 47 69 6e | 40 64 72 69 76 65 72 7b |\def\Gin|@driver{|
|00000d90| 70 73 70 72 69 6e 74 2e | 64 65 66 7d 7d 0a 5c 44 |psprint.|def}}.\D|
|00000da0| 65 63 6c 61 72 65 4f 70 | 74 69 6f 6e 7b 70 75 62 |eclareOp|tion{pub|
|00000db0| 70 73 7d 7b 5c 64 65 66 | 5c 47 69 6e 40 64 72 69 |ps}{\def|\Gin@dri|
|00000dc0| 76 65 72 7b 70 75 62 70 | 73 2e 64 65 66 7d 7d 0a |ver{pubp|s.def}}.|
|00000dd0| 5c 44 65 63 6c 61 72 65 | 4f 70 74 69 6f 6e 7b 74 |\Declare|Option{t|
|00000de0| 65 78 74 75 72 65 73 7d | 7b 5c 64 65 66 5c 47 69 |extures}|{\def\Gi|
|00000df0| 6e 40 64 72 69 76 65 72 | 7b 74 65 78 74 75 72 65 |n@driver|{texture|
|00000e00| 73 2e 64 65 66 7d 7d 0a | 5c 44 65 63 6c 61 72 65 |s.def}}.|\Declare|
|00000e10| 4f 70 74 69 6f 6e 7b 70 | 63 74 65 78 70 73 7d 7b |Option{p|ctexps}{|
|00000e20| 5c 64 65 66 5c 47 69 6e | 40 64 72 69 76 65 72 7b |\def\Gin|@driver{|
|00000e30| 70 63 74 65 78 70 73 2e | 64 65 66 7d 7d 0a 5c 44 |pctexps.|def}}.\D|
|00000e40| 65 63 6c 61 72 65 4f 70 | 74 69 6f 6e 7b 70 63 74 |eclareOp|tion{pct|
|00000e50| 65 78 77 69 6e 7d 7b 5c | 64 65 66 5c 47 69 6e 40 |exwin}{\|def\Gin@|
|00000e60| 64 72 69 76 65 72 7b 70 | 63 74 65 78 77 69 6e 2e |driver{p|ctexwin.|
|00000e70| 64 65 66 7d 7d 0a 5c 44 | 65 63 6c 61 72 65 4f 70 |def}}.\D|eclareOp|
|00000e80| 74 69 6f 6e 7b 70 63 74 | 65 78 68 70 7d 7b 5c 64 |tion{pct|exhp}{\d|
|00000e90| 65 66 5c 47 69 6e 40 64 | 72 69 76 65 72 7b 70 63 |ef\Gin@d|river{pc|
|00000ea0| 74 65 78 68 70 2e 64 65 | 66 7d 7d 0a 25 20 20 20 |texhp.de|f}}.% |
|00000eb0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00000ec0| 0a 25 0a 25 20 42 79 20 | 64 65 66 61 75 6c 74 20 |.%.% By |default |
|00000ed0| 74 68 65 20 6e 61 6d 65 | 64 20 63 6f 6c 6f 75 72 |the name|d colour|
|00000ee0| 20 6d 6f 64 65 6c 20 68 | 61 73 20 6e 6f 20 70 72 | model h|as no pr|
|00000ef0| 65 2d 64 65 63 6c 61 72 | 65 64 20 6e 61 6d 65 73 |e-declar|ed names|
|00000f00| 2e 0a 25 20 54 68 65 20 | 7c 64 76 69 70 73 6e 61 |..% The ||dvipsna|
|00000f10| 6d 65 73 7c 20 6f 70 74 | 69 6f 6e 20 70 72 65 64 |mes| opt|ion pred|
|00000f20| 65 63 6c 61 72 65 73 20 | 61 6c 6c 20 74 68 65 20 |eclares |all the |
|00000f30| 6e 61 6d 65 73 20 69 6e | 20 74 68 65 20 63 6f 6c |names in| the col|
|00000f40| 6f 75 72 0a 25 20 70 72 | 6f 6c 6f 67 75 65 20 6f |our.% pr|ologue o|
|00000f50| 66 20 64 76 69 70 73 2e | 20 54 68 65 20 7c 64 76 |f dvips.| The |dv|
|00000f60| 69 70 73 7c 20 6f 70 74 | 69 6f 6e 20 61 75 74 6f |ips| opt|ion auto|
|00000f70| 6d 61 74 69 63 61 6c 6c | 79 20 69 6d 70 6c 69 65 |maticall|y implie|
|00000f80| 73 0a 25 20 7c 64 76 69 | 70 73 6e 61 6d 65 73 7c |s.% |dvi|psnames||
|00000f90| 20 75 6e 6c 65 73 73 20 | 74 68 69 73 20 63 68 6f | unless |this cho|
|00000fa0| 69 63 65 20 69 73 20 6f | 76 65 72 72 75 6c 65 64 |ice is o|verruled|
|00000fb0| 20 77 69 74 68 20 74 68 | 65 20 7c 6e 6f 64 76 69 | with th|e |nodvi|
|00000fc0| 70 73 6e 61 6d 65 73 7c | 0a 25 20 6f 70 74 69 6f |psnames||.% optio|
|00000fd0| 6e 2e 20 46 6f 72 20 6f | 74 68 65 72 20 64 72 69 |n. For o|ther dri|
|00000fe0| 76 65 72 73 2c 20 65 67 | 20 7c 74 65 78 74 75 72 |vers, eg| |textur|
|00000ff0| 65 73 7c 20 79 6f 75 20 | 6d 61 79 20 75 73 65 20 |es| you |may use |
|00001000| 74 68 69 73 20 6f 70 74 | 69 6f 6e 20 74 6f 0a 25 |this opt|ion to.%|
|00001010| 20 65 78 70 6c 69 63 69 | 74 6c 79 20 72 65 71 75 | explici|tly requ|
|00001020| 65 73 74 20 74 68 61 74 | 20 74 68 65 73 65 20 6e |est that| these n|
|00001030| 61 6d 65 73 20 62 65 20 | 64 65 63 6c 61 72 65 64 |ames be |declared|
|00001040| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00001050| 63 72 6f 63 6f 64 65 7d | 0a 5c 44 65 63 6c 61 72 |crocode}|.\Declar|
|00001060| 65 4f 70 74 69 6f 6e 7b | 64 76 69 70 73 6e 61 6d |eOption{|dvipsnam|
|00001070| 65 73 7d 7b 5c 64 65 66 | 5c 63 40 6c 6f 72 40 6e |es}{\def|\c@lor@n|
|00001080| 61 6d 65 66 69 6c 65 7b | 64 76 69 70 73 6e 61 6d |amefile{|dvipsnam|
|00001090| 2e 64 65 66 7d 7d 0a 5c | 44 65 63 6c 61 72 65 4f |.def}}.\|DeclareO|
|000010a0| 70 74 69 6f 6e 7b 6e 6f | 64 76 69 70 73 6e 61 6d |ption{no|dvipsnam|
|000010b0| 65 73 7d 7b 5c 6c 65 74 | 5c 63 40 6c 6f 72 40 6e |es}{\let|\c@lor@n|
|000010c0| 61 6d 65 66 69 6c 65 5c | 72 65 6c 61 78 7d 0a 25 |amefile\|relax}.%|
|000010d0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000010e0| 64 65 7d 0a 25 0a 25 20 | 54 68 65 20 7c 75 73 65 |de}.%.% |The |use|
|000010f0| 6e 61 6d 65 73 7c 20 6f | 70 74 69 6f 6e 20 6d 6f |names| o|ption mo|
|00001100| 64 69 66 69 65 73 20 74 | 68 65 20 62 65 68 61 76 |difies t|he behav|
|00001110| 69 6f 75 72 20 6f 66 20 | 7c 5c 44 65 66 69 6e 65 |iour of ||\Define|
|00001120| 4e 61 6d 65 64 43 6f 6c | 6f 72 7c 0a 25 20 53 6f |NamedCol|or|.% So|
|00001130| 20 74 68 61 74 20 69 74 | 20 64 65 63 6c 61 72 65 | that it| declare|
|00001140| 73 20 74 68 65 20 73 61 | 6d 65 20 6e 61 6d 65 20 |s the sa|me name |
|00001150| 61 73 20 61 20 60 60 60 | 75 73 65 72 27 73 20 63 |as a ```|user's c|
|00001160| 6f 6c 6f 75 72 27 27 20 | 66 6f 72 20 75 73 65 20 |olour'' |for use |
|00001170| 69 6e 0a 25 20 61 20 7c | 5c 63 6f 6c 6f 72 7c 20 |in.% a ||\color| |
|00001180| 63 6f 6d 6d 61 6e 64 2c | 20 61 73 20 77 65 6c 6c |command,| as well|
|00001190| 20 61 73 20 61 20 6e 61 | 6d 65 20 69 6e 20 74 68 | as a na|me in th|
|000011a0| 65 20 7c 6e 61 6d 65 64 | 7c 20 63 6f 6c 6f 75 72 |e |named|| colour|
|000011b0| 20 6d 6f 64 65 6c 2e 0a | 25 20 54 68 65 20 6e 6f | model..|% The no|
|000011c0| 72 6d 61 6c 20 62 65 68 | 61 76 69 6f 75 72 20 69 |rmal beh|aviour i|
|000011d0| 73 20 6a 75 73 74 20 74 | 6f 20 64 65 63 61 6c 61 |s just t|o decala|
|000011e0| 72 65 20 74 68 65 20 6e | 61 6d 65 20 69 6e 20 74 |re the n|ame in t|
|000011f0| 68 65 20 6e 61 6d 65 64 | 20 63 6f 6c 6f 75 72 0a |he named| colour.|
|00001200| 25 20 6d 6f 64 65 6c 2e | 0a 25 20 20 20 20 5c 62 |% model.|.% \b|
|00001210| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00001220| 5c 6c 65 74 5c 63 40 6c | 6f 72 40 75 73 65 6e 61 |\let\c@l|or@usena|
|00001230| 6d 65 5c 40 67 6f 62 62 | 6c 65 0a 5c 44 65 63 6c |me\@gobb|le.\Decl|
|00001240| 61 72 65 4f 70 74 69 6f | 6e 7b 75 73 65 6e 61 6d |areOptio|n{usenam|
|00001250| 65 73 7d 7b 25 0a 20 20 | 5c 64 65 66 5c 63 40 6c |es}{%. |\def\c@l|
|00001260| 6f 72 40 75 73 65 6e 61 | 6d 65 23 23 31 7b 25 0a |or@usena|me##1{%.|
|00001270| 20 20 20 20 5c 65 78 70 | 61 6e 64 61 66 74 65 72 | \exp|andafter|
|00001280| 5c 63 6f 6c 6f 72 40 6e | 61 6d 65 64 5c 63 73 6e |\color@n|amed\csn|
|00001290| 61 6d 65 5c 73 74 72 69 | 6e 67 5c 63 6f 6c 6f 72 |ame\stri|ng\color|
|000012a0| 20 40 23 23 31 5c 65 6e | 64 63 73 6e 61 6d 65 7b | @##1\en|dcsname{|
|000012b0| 23 23 31 7d 7d 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |##1}}}.%| \end|
|000012c0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|000012d0| 5c 73 65 63 74 69 6f 6e | 7b 55 73 69 6e 67 20 43 |\section|{Using C|
|000012e0| 6f 6c 6f 75 72 73 7d 0a | 25 0a 25 20 5c 73 75 62 |olours}.|%.% \sub|
|000012f0| 73 65 63 74 69 6f 6e 7b | 44 65 63 6c 61 72 61 74 |section{|Declarat|
|00001300| 69 76 65 20 66 6f 72 6d | 7d 0a 25 0a 25 20 20 5c |ive form|}.%.% \|
|00001310| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 7d 7b 5c 63 6f |begin{ma|cro}{\co|
|00001320| 6c 6f 72 7d 0a 25 20 7c | 5c 63 6f 6c 6f 72 7b 7c |lor}.% ||\color{||
|00001330| 5c 65 6d 70 68 7b 64 65 | 63 6c 61 72 65 64 2d 63 |\emph{de|clared-c|
|00001340| 6f 6c 6f 75 72 7d 7c 7d | 7c 20 73 77 69 74 63 68 |olour}|}|| switch|
|00001350| 65 73 20 74 6f 20 74 68 | 65 20 63 6f 6c 6f 75 72 |es to th|e colour|
|00001360| 0a 25 20 5c 65 6d 70 68 | 7b 64 65 63 6c 61 72 65 |.% \emph|{declare|
|00001370| 64 2d 63 6f 6c 6f 75 72 | 7d 2c 20 77 68 69 63 68 |d-colour|}, which|
|00001380| 20 6d 75 73 74 20 70 72 | 65 76 69 6f 75 73 6c 79 | must pr|eviously|
|00001390| 20 68 61 76 65 20 62 65 | 65 6e 20 64 65 66 69 6e | have be|en defin|
|000013a0| 65 64 0a 25 20 75 73 69 | 6e 67 20 7c 5c 64 65 66 |ed.% usi|ng |\def|
|000013b0| 69 6e 65 63 6f 6c 6f 72 | 7c 2e 20 54 68 69 73 20 |inecolor||. This |
|000013c0| 63 6f 6c 6f 75 72 20 77 | 69 6c 6c 20 73 74 61 79 |colour w|ill stay|
|000013d0| 20 69 6e 20 65 66 66 65 | 63 74 20 75 6e 74 69 6c | in effe|ct until|
|000013e0| 20 74 68 65 20 65 6e 64 | 20 6f 66 0a 25 20 74 68 | the end| of.% th|
|000013f0| 65 20 63 75 72 72 65 6e | 74 20 5c 54 65 58 5c 20 |e curren|t \TeX\ |
|00001400| 67 72 6f 75 70 2e 0a 25 | 0a 25 20 7c 5c 63 6f 6c |group..%|.% |\col|
|00001410| 6f 72 5b 7c 5c 65 6d 70 | 68 7b 6d 6f 64 65 6c 7d |or[|\emp|h{model}|
|00001420| 7c 5d 7b 7c 5c 65 6d 70 | 68 7b 63 6f 6c 6f 75 72 ||]{|\emp|h{colour|
|00001430| 2d 73 70 65 63 69 66 69 | 63 61 74 69 6f 6e 7d 7c |-specifi|cation}||
|00001440| 7d 7c 20 69 73 20 73 69 | 6d 69 6c 61 72 0a 25 20 |}| is si|milar.% |
|00001450| 74 6f 20 74 68 65 20 61 | 62 6f 76 65 2c 20 62 75 |to the a|bove, bu|
|00001460| 74 20 75 73 65 73 20 61 | 20 63 6f 6c 6f 75 72 20 |t uses a| colour |
|00001470| 6e 6f 74 20 64 65 63 6c | 61 72 65 64 20 62 79 20 |not decl|ared by |
|00001480| 7c 5c 64 65 66 69 6e 65 | 63 6f 6c 6f 72 7c 2e 20 ||\define|color|. |
|00001490| 54 68 65 0a 25 20 61 6c | 6c 6f 77 65 64 20 5c 65 |The.% al|lowed \e|
|000014a0| 6d 70 68 7b 6d 6f 64 65 | 6c 7d 27 73 20 76 61 72 |mph{mode|l}'s var|
|000014b0| 79 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 74 |y depend|ing on t|
|000014c0| 68 65 20 64 72 69 76 65 | 72 2e 20 54 68 65 20 73 |he drive|r. The s|
|000014d0| 79 6e 74 61 78 20 6f 66 | 0a 25 20 74 68 65 20 5c |yntax of|.% the \|
|000014e0| 65 6d 70 68 7b 63 6f 6c | 6f 75 72 2d 73 70 65 63 |emph{col|our-spec|
|000014f0| 69 66 69 63 61 74 69 6f | 6e 7d 20 61 72 67 75 6d |ificatio|n} argum|
|00001500| 65 6e 74 20 64 65 70 65 | 6e 64 73 20 6f 6e 20 74 |ent depe|nds on t|
|00001510| 68 65 20 6d 6f 64 65 6c | 2e 0a 25 0a 25 20 5c 63 |he model|..%.% \c|
|00001520| 68 61 6e 67 65 73 7b 76 | 30 2e 33 61 7d 7b 31 39 |hanges{v|0.3a}{19|
|00001530| 39 34 2f 30 37 2f 32 30 | 7d 0a 25 20 20 20 20 20 |94/07/20|}.% |
|00001540| 7b 4d 61 6b 65 20 5c 63 | 73 7b 63 6f 6c 6f 72 7d |{Make \c|s{color}|
|00001550| 20 72 6f 62 75 73 74 7d | 0a 25 20 20 20 20 5c 62 | robust}|.% \b|
|00001560| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00001570| 5c 44 65 63 6c 61 72 65 | 52 6f 62 75 73 74 43 6f |\Declare|RobustCo|
|00001580| 6d 6d 61 6e 64 5c 63 6f | 6c 6f 72 7b 25 0a 20 20 |mmand\co|lor{%. |
|00001590| 5c 40 69 66 6e 65 78 74 | 63 68 61 72 5b 5c 40 75 |\@ifnext|char[\@u|
|000015a0| 6e 64 65 63 6c 61 72 65 | 64 63 6f 6c 6f 72 5c 40 |ndeclare|dcolor\@|
|000015b0| 64 65 63 6c 61 72 65 64 | 63 6f 6c 6f 72 7d 0a 25 |declared|color}.%|
|000015c0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000015d0| 64 65 7d 0a 25 20 20 5c | 65 6e 64 7b 6d 61 63 72 |de}.% \|end{macr|
|000015e0| 6f 7d 0a 25 0a 25 20 20 | 5c 62 65 67 69 6e 7b 6d |o}.%.% |\begin{m|
|000015f0| 61 63 72 6f 7d 7b 5c 40 | 75 6e 64 65 63 6c 61 72 |acro}{\@|undeclar|
|00001600| 65 64 63 6f 6c 6f 72 7d | 0a 25 20 5c 63 68 61 6e |edcolor}|.% \chan|
|00001610| 67 65 73 7b 76 30 2e 32 | 63 7d 7b 31 39 39 34 2f |ges{v0.2|c}{1994/|
|00001620| 30 35 2f 30 39 7d 0a 25 | 20 20 20 20 20 7b 49 6d |05/09}.%| {Im|
|00001630| 70 72 6f 76 65 20 65 72 | 72 6f 72 20 6d 65 73 73 |prove er|ror mess|
|00001640| 61 67 65 73 7d 0a 25 20 | 5c 63 68 61 6e 67 65 73 |ages}.% |\changes|
|00001650| 7b 76 30 2e 33 61 7d 7b | 31 39 39 34 2f 30 37 2f |{v0.3a}{|1994/07/|
|00001660| 32 30 7d 0a 25 20 20 20 | 20 20 7b 4e 65 77 20 69 |20}.% | {New i|
|00001670| 6e 74 65 72 6e 61 6c 20 | 69 6d 70 6c 65 6d 65 6e |nternal |implemen|
|00001680| 74 61 74 69 6f 6e 20 6f | 66 20 63 6f 6c 6f 75 72 |tation o|f colour|
|00001690| 20 63 6f 6d 6d 61 6e 64 | 73 7d 0a 25 20 43 61 6c | command|s}.% Cal|
|000016a0| 6c 20 74 68 65 20 64 72 | 69 76 65 72 2d 64 65 70 |l the dr|iver-dep|
|000016b0| 65 6e 64 65 6e 74 20 63 | 6f 6d 6d 61 6e 64 20 7c |endent c|ommand ||
|000016c0| 5c 63 6f 6c 6f 72 40 7c | 5c 6d 65 74 61 7b 6d 6f |\color@||\meta{mo|
|000016d0| 64 65 6c 7d 20 74 6f 20 | 64 65 66 69 6e 65 0a 25 |del} to |define.%|
|000016e0| 20 7c 5c 63 75 72 72 65 | 6e 74 40 63 6f 6c 6f 72 | |\curre|nt@color|
|000016f0| 7c 2c 20 74 68 65 6e 20 | 63 61 6c 6c 20 7c 5c 73 ||, then |call |\s|
|00001700| 65 74 40 63 6f 6c 6f 72 | 7c 20 74 6f 20 63 68 61 |et@color|| to cha|
|00001710| 6e 67 65 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |nge the |current |
|00001720| 63 6f 6c 6f 75 72 0a 25 | 20 61 63 63 6f 72 64 69 |colour.%| accordi|
|00001730| 6e 67 6c 79 2e 0a 25 20 | 20 20 20 5c 62 65 67 69 |ngly..% | \begi|
|00001740| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00001750| 66 5c 40 75 6e 64 65 63 | 6c 61 72 65 64 63 6f 6c |f\@undec|laredcol|
|00001760| 6f 72 5b 23 31 5d 23 32 | 7b 25 0a 20 20 5c 40 69 |or[#1]#2|{%. \@i|
|00001770| 66 75 6e 64 65 66 69 6e | 65 64 7b 63 6f 6c 6f 72 |fundefin|ed{color|
|00001780| 40 23 31 7d 25 0a 20 20 | 20 20 7b 5c 40 6c 61 74 |@#1}%. | {\@lat|
|00001790| 65 78 40 65 72 72 6f 72 | 7b 55 6e 64 65 66 69 6e |ex@error|{Undefin|
|000017a0| 65 64 20 63 6f 6c 6f 72 | 20 6d 6f 64 65 6c 20 60 |ed color| model `|
|000017b0| 23 31 27 7d 5c 40 65 68 | 64 7d 25 0a 20 20 20 20 |#1'}\@eh|d}%. |
|000017c0| 7b 5c 63 73 6e 61 6d 65 | 20 63 6f 6c 6f 72 40 23 |{\csname| color@#|
|000017d0| 31 5c 65 6e 64 63 73 6e | 61 6d 65 5c 63 75 72 72 |1\endcsn|ame\curr|
|000017e0| 65 6e 74 40 63 6f 6c 6f | 72 7b 23 32 7d 25 0a 20 |ent@colo|r{#2}%. |
|000017f0| 20 20 20 20 5c 73 65 74 | 40 63 6f 6c 6f 72 7d 25 | \set|@color}%|
|00001800| 0a 20 20 5c 69 67 6e 6f | 72 65 73 70 61 63 65 73 |. \igno|respaces|
|00001810| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|00001820| 6f 63 6f 64 65 7d 0a 25 | 20 20 5c 65 6e 64 7b 6d |ocode}.%| \end{m|
|00001830| 61 63 72 6f 7d 0a 25 0a | 25 20 20 5c 62 65 67 69 |acro}.%.|% \begi|
|00001840| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 40 64 65 63 6c 61 |n{macro}|{\@decla|
|00001850| 72 65 64 63 6f 6c 6f 72 | 7d 25 0a 25 20 5c 63 68 |redcolor|}%.% \ch|
|00001860| 61 6e 67 65 73 7b 76 30 | 2e 31 63 7d 7b 31 39 39 |anges{v0|.1c}{199|
|00001870| 34 2f 30 34 2f 30 31 7d | 0a 25 20 20 20 20 20 7b |4/04/01}|.% {|
|00001880| 41 64 64 20 5c 63 73 7b | 69 67 6e 6f 72 65 73 70 |Add \cs{|ignoresp|
|00001890| 61 63 65 73 7d 7d 0a 25 | 20 5c 63 68 61 6e 67 65 |aces}}.%| \change|
|000018a0| 73 7b 76 30 2e 31 65 7d | 7b 31 39 39 34 2f 30 35 |s{v0.1e}|{1994/05|
|000018b0| 2f 31 34 7d 0a 25 20 20 | 20 20 20 7b 4d 69 6e 6f |/14}.% | {Mino|
|000018c0| 72 20 63 68 61 6e 67 65 | 20 74 6f 20 65 72 72 6f |r change| to erro|
|000018d0| 72 20 6d 65 73 73 61 67 | 65 7d 0a 25 20 5c 63 68 |r messag|e}.% \ch|
|000018e0| 61 6e 67 65 73 7b 76 30 | 2e 33 61 7d 7b 31 39 39 |anges{v0|.3a}{199|
|000018f0| 34 2f 30 37 2f 32 30 7d | 0a 25 20 20 20 20 20 7b |4/07/20}|.% {|
|00001900| 4e 65 77 20 69 6e 74 65 | 72 6e 61 6c 20 69 6d 70 |New inte|rnal imp|
|00001910| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 20 6f 66 20 63 |lementat|ion of c|
|00001920| 6f 6c 6f 75 72 20 63 6f | 6d 6d 61 6e 64 73 7d 0a |olour co|mmands}.|
|00001930| 25 20 7c 5c 6c 65 74 7c | 20 7c 5c 63 75 72 72 65 |% |\let|| |\curre|
|00001940| 6e 74 40 63 6f 6c 6f 72 | 7c 20 74 6f 20 74 68 65 |nt@color|| to the|
|00001950| 20 69 6e 74 65 72 6e 61 | 6c 20 72 65 70 72 65 73 | interna|l repres|
|00001960| 65 6e 74 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |entation| of the |
|00001970| 63 6f 6c 6f 75 72 0a 25 | 20 69 66 20 74 68 65 20 |colour.%| if the |
|00001980| 63 6f 6c 6f 75 72 20 68 | 61 73 20 20 62 65 65 6e |colour h|as been|
|00001990| 20 64 65 63 6c 61 72 65 | 64 2c 20 6f 74 68 65 72 | declare|d, other|
|000019a0| 77 69 73 65 20 67 65 6e | 65 72 61 74 65 20 61 6e |wise gen|erate an|
|000019b0| 20 65 72 72 6f 72 2e 0a | 25 20 46 69 6e 61 6c 6c | error..|% Finall|
|000019c0| 79 20 63 61 6c 6c 20 7c | 5c 73 65 74 40 63 6f 6c |y call ||\set@col|
|000019d0| 6f 72 7c 20 74 6f 20 65 | 66 66 65 63 74 20 74 68 |or| to e|ffect th|
|000019e0| 65 20 63 6f 6c 6f 75 72 | 20 63 68 61 6e 67 65 2e |e colour| change.|
|000019f0| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00001a00| 72 6f 63 6f 64 65 7d 0a | 5c 64 65 66 5c 40 64 65 |rocode}.|\def\@de|
|00001a10| 63 6c 61 72 65 64 63 6f | 6c 6f 72 23 31 7b 25 0a |claredco|lor#1{%.|
|00001a20| 20 20 5c 40 69 66 75 6e | 64 65 66 69 6e 65 64 7b | \@ifun|defined{|
|00001a30| 5c 73 74 72 69 6e 67 5c | 63 6f 6c 6f 72 20 40 23 |\string\|color @#|
|00001a40| 31 7d 25 0a 20 20 20 20 | 7b 5c 40 6c 61 74 65 78 |1}%. |{\@latex|
|00001a50| 40 65 72 72 6f 72 7b 55 | 6e 64 65 66 69 6e 65 64 |@error{U|ndefined|
|00001a60| 20 63 6f 6c 6f 72 20 60 | 23 31 27 7d 5c 40 65 68 | color `|#1'}\@eh|
|00001a70| 64 7d 25 0a 20 20 20 20 | 7b 5c 65 78 70 61 6e 64 |d}%. |{\expand|
|00001a80| 61 66 74 65 72 5c 6c 65 | 74 5c 65 78 70 61 6e 64 |after\le|t\expand|
|00001a90| 61 66 74 65 72 5c 63 75 | 72 72 65 6e 74 40 63 6f |after\cu|rrent@co|
|00001aa0| 6c 6f 72 0a 20 20 20 20 | 20 5c 63 73 6e 61 6d 65 |lor. | \csname|
|00001ab0| 5c 73 74 72 69 6e 67 5c | 63 6f 6c 6f 72 20 40 23 |\string\|color @#|
|00001ac0| 31 5c 65 6e 64 63 73 6e | 61 6d 65 0a 20 20 20 20 |1\endcsn|ame. |
|00001ad0| 20 5c 73 65 74 40 63 6f | 6c 6f 72 7d 25 0a 20 20 | \set@co|lor}%. |
|00001ae0| 5c 69 67 6e 6f 72 65 73 | 70 61 63 65 73 7d 0a 25 |\ignores|paces}.%|
|00001af0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00001b00| 64 65 7d 0a 25 20 20 5c | 65 6e 64 7b 6d 61 63 72 |de}.% \|end{macr|
|00001b10| 6f 7d 0a 25 0a 25 20 5c | 73 75 62 73 65 63 74 69 |o}.%.% \|subsecti|
|00001b20| 6f 6e 7b 43 6f 6d 6d 61 | 6e 64 20 28 41 72 67 75 |on{Comma|nd (Argu|
|00001b30| 6d 65 6e 74 29 20 46 6f | 72 6d 7d 0a 25 0a 25 20 |ment) Fo|rm}.%.% |
|00001b40| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 5c | \begin{|macro}{\|
|00001b50| 74 65 78 74 63 6f 6c 6f | 72 7d 0a 25 20 7c 5c 74 |textcolo|r}.% |\t|
|00001b60| 65 78 74 63 6f 6c 6f 72 | 7b 7c 5c 65 6d 70 68 7b |extcolor|{|\emph{|
|00001b70| 64 65 63 6c 61 72 65 64 | 2d 63 6f 6c 6f 75 72 7d |declared|-colour}|
|00001b80| 7c 7d 7b 7c 5c 65 6d 70 | 68 7b 74 65 78 74 7d 7c ||}{|\emp|h{text}||
|00001b90| 7d 7c 20 61 6e 64 0a 25 | 20 7c 5c 74 65 78 74 63 |}| and.%| |\textc|
|00001ba0| 6f 6c 6f 72 5b 7c 5c 65 | 6d 70 68 7b 6d 6f 64 65 |olor[|\e|mph{mode|
|00001bb0| 6c 7d 7c 5d 7b 7c 5c 65 | 6d 70 68 7b 63 6f 6c 6f |l}|]{|\e|mph{colo|
|00001bc0| 75 72 2d 73 70 65 63 7d | 7c 7d 7b 7c 5c 65 6d 70 |ur-spec}||}{|\emp|
|00001bd0| 68 7b 74 65 78 74 7d 7c | 7d 7c 0a 25 20 61 72 65 |h{text}||}|.% are|
|00001be0| 20 6a 75 73 74 20 61 6c | 74 65 72 6e 61 74 69 76 | just al|ternativ|
|00001bf0| 65 20 73 79 6e 74 61 78 | 20 66 6f 72 20 7c 5c 63 |e syntax| for |\c|
|00001c00| 6f 6c 6f 72 7c 2c 20 69 | 6e 0a 25 20 77 68 69 63 |olor|, i|n.% whic|
|00001c10| 68 20 74 68 65 20 67 72 | 6f 75 70 73 20 61 72 65 |h the gr|oups are|
|00001c20| 20 61 64 64 65 64 20 69 | 6d 70 6c 69 63 69 74 6c | added i|mplicitl|
|00001c30| 79 2e 20 54 68 75 73 20 | 5c 65 6d 70 68 7b 74 65 |y. Thus |\emph{te|
|00001c40| 78 74 7d 20 61 70 70 65 | 61 72 73 20 69 6e 20 74 |xt} appe|ars in t|
|00001c50| 68 65 0a 25 20 73 70 65 | 63 69 66 69 65 64 20 63 |he.% spe|cified c|
|00001c60| 6f 6c 6f 75 72 2c 20 62 | 75 74 20 74 68 65 6e 20 |olour, b|ut then |
|00001c70| 74 68 65 20 63 6f 6c 6f | 75 72 20 72 65 76 65 72 |the colo|ur rever|
|00001c80| 74 73 20 74 6f 20 69 74 | 73 20 70 72 65 76 69 6f |ts to it|s previo|
|00001c90| 75 73 20 76 61 6c 75 65 | 2e 0a 25 20 54 68 65 20 |us value|..% The |
|00001ca0| 6e 61 6d 69 6e 67 20 69 | 73 20 62 79 20 61 6e 61 |naming i|s by ana|
|00001cb0| 6c 6f 67 79 20 77 69 74 | 68 20 7c 5c 74 65 78 74 |logy wit|h |\text|
|00001cc0| 72 6d 7c 20 28 61 73 20 | 6f 70 70 6f 73 65 64 20 |rm| (as |opposed |
|00001cd0| 74 6f 20 7c 5c 72 6d 7c | 20 61 6e 64 0a 25 20 7c |to |\rm|| and.% ||
|00001ce0| 5c 72 6d 66 61 6d 69 6c | 79 7c 29 20 61 6c 74 68 |\rmfamil|y|) alth|
|00001cf0| 6f 75 67 68 20 69 74 20 | 69 73 20 73 6c 69 67 68 |ough it |is sligh|
|00001d00| 74 6c 79 20 61 20 6d 69 | 73 6e 6f 6d 65 72 20 61 |tly a mi|snomer a|
|00001d10| 73 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 61 6c |s the co|mmand al|
|00001d20| 73 6f 0a 25 20 77 6f 72 | 6b 73 20 69 6e 20 6d 61 |so.% wor|ks in ma|
|00001d30| 74 68 2d 6d 6f 64 65 2e | 0a 25 20 5c 63 68 61 6e |th-mode.|.% \chan|
|00001d40| 67 65 73 7b 76 30 2e 33 | 61 7d 7b 31 39 39 34 2f |ges{v0.3|a}{1994/|
|00001d50| 30 37 2f 32 30 7d 0a 25 | 20 20 20 20 20 7b 53 74 |07/20}.%| {St|
|00001d60| 6f 70 20 63 6f 6d 6d 61 | 6e 64 20 62 65 69 6e 67 |op comma|nd being|
|00001d70| 20 5c 63 73 7b 6c 6f 6e | 67 7d 2c 20 61 6e 64 20 | \cs{lon|g}, and |
|00001d80| 6d 61 6b 65 20 72 6f 62 | 75 73 74 2e 7d 0a 25 20 |make rob|ust.}.% |
|00001d90| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00001da0| 6f 64 65 7d 0a 5c 64 65 | 66 5c 74 65 78 74 63 6f |ode}.\de|f\textco|
|00001db0| 6c 6f 72 23 31 23 7b 5c | 40 74 65 78 74 63 6f 6c |lor#1#{\|@textcol|
|00001dc0| 6f 72 7b 23 31 7d 7d 0a | 5c 64 65 66 5c 40 74 65 |or{#1}}.|\def\@te|
|00001dd0| 78 74 63 6f 6c 6f 72 23 | 31 23 32 23 33 7b 7b 5c |xtcolor#|1#2#3{{\|
|00001de0| 63 6f 6c 6f 72 23 31 7b | 23 32 7d 23 33 7d 7d 0a |color#1{|#2}#3}}.|
|00001df0| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00001e00| 6f 64 65 7d 0a 25 20 20 | 5c 65 6e 64 7b 6d 61 63 |ode}.% |\end{mac|
|00001e10| 72 6f 7d 0a 25 0a 25 20 | 5c 73 75 62 73 65 63 74 |ro}.%.% |\subsect|
|00001e20| 69 6f 6e 7b 42 61 63 6b | 67 72 6f 75 6e 64 20 28 |ion{Back|ground (|
|00001e30| 50 61 67 65 29 20 43 6f | 6c 6f 75 72 7d 0a 25 0a |Page) Co|lour}.%.|
|00001e40| 25 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b |% \begin|{macro}{|
|00001e50| 5c 70 61 67 65 63 6f 6c | 6f 72 7d 0a 25 20 7c 5c |\pagecol|or}.% |\|
|00001e60| 70 61 67 65 63 6f 6c 6f | 72 7c 2c 20 77 68 69 63 |pagecolo|r|, whic|
|00001e70| 68 20 68 61 73 20 74 68 | 65 20 73 61 6d 65 20 61 |h has th|e same a|
|00001e80| 72 67 75 6d 65 6e 74 20 | 66 6f 72 6d 73 20 61 73 |rgument |forms as|
|00001e90| 20 7c 5c 63 6f 6c 6f 72 | 7c 2c 20 73 70 65 63 69 | |\color||, speci|
|00001ea0| 66 69 65 73 0a 25 20 74 | 68 65 20 62 61 63 6b 67 |fies.% t|he backg|
|00001eb0| 72 6f 75 6e 64 20 63 6f | 6c 6f 75 72 20 66 6f 72 |round co|lour for|
|00001ec0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 2c 20 61 6e | the cur|rent, an|
|00001ed0| 64 20 61 6c 6c 20 66 6f | 6c 6c 6f 77 69 6e 67 2c |d all fo|llowing,|
|00001ee0| 20 70 61 67 65 73 2e 20 | 49 74 20 69 73 0a 25 20 | pages. |It is.% |
|00001ef0| 61 20 67 6c 6f 62 61 6c | 20 64 65 63 6c 61 72 61 |a global| declara|
|00001f00| 74 69 6f 6e 20 77 68 69 | 63 68 20 64 6f 65 73 20 |tion whi|ch does |
|00001f10| 6e 6f 74 20 72 65 73 70 | 65 63 74 20 5c 54 65 58 |not resp|ect \TeX|
|00001f20| 5c 20 67 72 6f 75 70 73 | 2e 0a 25 0a 25 20 5c 63 |\ groups|..%.% \c|
|00001f30| 68 61 6e 67 65 73 7b 76 | 30 2e 31 63 7d 7b 31 39 |hanges{v|0.1c}{19|
|00001f40| 39 34 2f 30 34 2f 30 31 | 7d 0a 25 20 20 20 20 20 |94/04/01|}.% |
|00001f50| 7b 65 6e 64 20 74 68 65 | 20 67 72 6f 75 70 20 65 |{end the| group e|
|00001f60| 76 65 6e 20 69 66 20 74 | 68 65 20 63 6f 6c 6f 75 |ven if t|he colou|
|00001f70| 72 20 63 6f 6d 6d 61 6e | 64 20 67 65 6e 65 72 61 |r comman|d genera|
|00001f80| 74 65 73 20 61 6e 20 65 | 72 72 6f 72 7d 0a 25 20 |tes an e|rror}.% |
|00001f90| 5c 63 68 61 6e 67 65 73 | 7b 76 30 2e 33 63 7d 7b |\changes|{v0.3c}{|
|00001fa0| 31 39 39 34 2f 30 39 2f | 31 39 7d 0a 25 20 20 20 |1994/09/|19}.% |
|00001fb0| 20 20 7b 55 73 65 20 5c | 63 73 7b 63 6f 6c 6f 72 | {Use \|cs{color|
|00001fc0| 7d 20 74 6f 20 70 61 72 | 73 65 20 61 72 67 75 6d |} to par|se argum|
|00001fd0| 65 6e 74 73 7d 0a 25 20 | 20 20 20 5c 62 65 67 69 |ents}.% | \begi|
|00001fe0| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00001ff0| 66 5c 70 61 67 65 63 6f | 6c 6f 72 7b 25 0a 20 20 |f\pageco|lor{%. |
|00002000| 5c 62 65 67 69 6e 67 72 | 6f 75 70 0a 20 20 20 20 |\begingr|oup. |
|00002010| 20 20 5c 6c 65 74 5c 69 | 67 6e 6f 72 65 73 70 61 | \let\i|gnorespa|
|00002020| 63 65 73 5c 65 6e 64 67 | 72 6f 75 70 0a 20 20 20 |ces\endg|roup. |
|00002030| 20 20 20 5c 6c 65 74 5c | 73 65 74 40 63 6f 6c 6f | \let\|set@colo|
|00002040| 72 5c 73 65 74 40 70 61 | 67 65 40 63 6f 6c 6f 72 |r\set@pa|ge@color|
|00002050| 0a 20 20 20 20 20 20 5c | 63 6f 6c 6f 72 7d 0a 25 |. \|color}.%|
|00002060| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00002070| 64 65 7d 0a 25 20 20 5c | 65 6e 64 7b 6d 61 63 72 |de}.% \|end{macr|
|00002080| 6f 7d 0a 25 0a 25 20 5c | 73 65 63 74 69 6f 6e 7b |o}.%.% \|section{|
|00002090| 44 65 66 69 6e 69 6e 67 | 20 43 6f 6c 6f 75 72 73 |Defining| Colours|
|000020a0| 7d 0a 25 0a 25 20 20 5c | 62 65 67 69 6e 7b 6d 61 |}.%.% \|begin{ma|
|000020b0| 63 72 6f 7d 7b 5c 64 65 | 66 69 6e 65 63 6f 6c 6f |cro}{\de|finecolo|
|000020c0| 72 7d 0a 25 20 7c 5c 64 | 65 66 69 6e 65 63 6f 6c |r}.% |\d|efinecol|
|000020d0| 6f 72 7b 7c 5c 65 6d 70 | 68 7b 6e 61 6d 65 7d 7c |or{|\emp|h{name}||
|000020e0| 7d 7b 7c 5c 65 6d 70 68 | 7b 6d 6f 64 65 6c 7d 7c |}{|\emph|{model}||
|000020f0| 7d 7b 7c 5c 65 6d 70 68 | 7b 63 6f 6c 6f 75 72 2d |}{|\emph|{colour-|
|00002100| 73 70 65 63 7d 7c 7d 7c | 0a 25 20 64 65 66 69 6e |spec}|}||.% defin|
|00002110| 65 73 20 74 68 65 20 63 | 6f 6c 6f 72 20 5c 65 6d |es the c|olor \em|
|00002120| 70 68 7b 6e 61 6d 65 7d | 2c 20 77 68 69 63 68 20 |ph{name}|, which |
|00002130| 6d 61 79 20 74 68 65 6e | 20 62 65 20 75 73 65 64 |may then| be used|
|00002140| 20 69 6e 20 73 75 62 73 | 65 71 75 65 6e 74 0a 25 | in subs|equent.%|
|00002150| 20 7c 5c 63 6f 6c 6f 72 | 7c 20 6f 72 20 7c 5c 74 | |\color|| or |\t|
|00002160| 65 78 74 63 6f 6c 6f 72 | 7c 20 63 6f 6d 6d 61 6e |extcolor|| comman|
|00002170| 64 73 20 74 6f 20 72 65 | 66 65 72 20 74 6f 20 61 |ds to re|fer to a|
|00002180| 20 63 6f 6c 6f 75 72 20 | 73 70 65 63 69 66 69 65 | colour |specifie|
|00002190| 64 20 62 79 0a 25 20 5c | 65 6d 70 68 7b 63 6f 6c |d by.% \|emph{col|
|000021a0| 6f 75 72 2d 73 70 65 63 | 7d 20 69 6e 20 74 68 65 |our-spec|} in the|
|000021b0| 20 63 6f 6c 6f 75 72 20 | 6d 6f 64 65 6c 20 5c 65 | colour |model \e|
|000021c0| 6d 70 68 7b 6d 6f 64 65 | 6c 7d 2e 0a 25 0a 25 20 |mph{mode|l}..%.% |
|000021d0| 7c 5c 64 65 66 69 6e 65 | 63 6f 6c 6f 72 7c 20 61 ||\define|color| a|
|000021e0| 73 73 6f 63 69 61 74 65 | 73 20 74 68 65 20 5c 65 |ssociate|s the \e|
|000021f0| 6d 70 68 7b 6e 61 6d 65 | 7d 20 74 68 65 20 74 6f |mph{name|} the to|
|00002200| 20 61 20 20 63 6f 6c 6f | 75 72 20 69 6e 0a 25 20 | a colo|ur in.% |
|00002210| 5c 65 6d 70 68 7b 6d 6f | 64 65 6c 7d 2e 20 53 6f |\emph{mo|del}. So|
|00002220| 20 7c 5c 63 6f 6c 6f 72 | 7b 7c 5c 65 6d 70 68 7b | |\color|{|\emph{|
|00002230| 6e 61 6d 65 7d 7c 7d 7c | 20 77 6f 75 6c 64 20 63 |name}|}|| would c|
|00002240| 68 65 63 6b 20 5c 65 6d | 70 68 7b 6e 61 6d 65 7d |heck \em|ph{name}|
|00002250| 0a 25 20 74 68 65 6e 20 | 69 73 73 75 65 20 61 20 |.% then |issue a |
|00002260| 7c 5c 73 70 65 63 69 61 | 6c 7c 20 66 6f 72 20 74 ||\specia|l| for t|
|00002270| 68 65 20 63 6f 6c 6f 75 | 72 20 6d 6f 64 65 6c 20 |he colou|r model |
|00002280| 5c 65 6d 70 68 7b 6d 6f | 64 65 6c 7d 2e 0a 25 0a |\emph{mo|del}..%.|
|00002290| 25 20 7c 5c 64 65 66 69 | 6e 65 63 6f 6c 6f 72 7c |% |\defi|necolor||
|000022a0| 20 6a 75 73 74 20 63 61 | 6c 6c 73 20 61 6e 20 69 | just ca|lls an i|
|000022b0| 6e 74 65 72 6e 61 6c 20 | 6d 61 63 72 6f 20 74 68 |nternal |macro th|
|000022c0| 61 74 20 64 65 66 69 6e | 65 73 20 74 68 65 20 63 |at defin|es the c|
|000022d0| 6f 6c 6f 75 72 0a 25 20 | 66 6f 72 20 61 20 70 61 |olour.% |for a pa|
|000022e0| 72 74 69 63 75 6c 61 72 | 20 6d 6f 64 65 6c 2e 20 |rticular| model. |
|000022f0| 54 68 69 73 20 6d 61 63 | 72 6f 20 6d 75 73 74 20 |This mac|ro must |
|00002300| 68 61 76 65 20 62 65 65 | 6e 20 64 65 66 69 6e 65 |have bee|n define|
|00002310| 64 20 62 79 20 74 68 65 | 0a 25 20 64 72 69 76 65 |d by the|.% drive|
|00002320| 72 20 66 69 6c 65 20 74 | 68 61 74 20 73 75 70 70 |r file t|hat supp|
|00002330| 6f 72 74 73 20 74 68 65 | 20 72 65 71 75 65 73 74 |orts the| request|
|00002340| 65 64 20 5c 65 6d 70 68 | 7b 6d 6f 64 65 6c 7d 2e |ed \emph|{model}.|
|00002350| 0a 25 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 30 |.%.% \ch|anges{v0|
|00002360| 2e 31 62 7d 7b 31 39 39 | 34 2f 30 33 2f 31 35 7d |.1b}{199|4/03/15}|
|00002370| 0a 25 20 20 20 20 20 7b | 63 68 61 6e 67 65 20 6e |.% {|change n|
|00002380| 61 6d 65 20 66 72 6f 6d | 20 5c 63 6d 64 5c 6e 65 |ame from| \cmd\ne|
|00002390| 77 63 6f 6c 6f 72 20 74 | 6f 20 5c 63 6d 64 5c 64 |wcolor t|o \cmd\d|
|000023a0| 65 66 69 6e 65 63 6f 6c | 6f 72 7d 0a 25 20 5c 63 |efinecol|or}.% \c|
|000023b0| 68 61 6e 67 65 73 7b 76 | 30 2e 31 65 7d 7b 31 39 |hanges{v|0.1e}{19|
|000023c0| 39 34 2f 30 35 2f 31 34 | 7d 0a 25 20 20 20 20 20 |94/05/14|}.% |
|000023d0| 7b 4d 69 6e 6f 72 20 63 | 68 61 6e 67 65 20 74 6f |{Minor c|hange to|
|000023e0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 7d 0a | error m|essage}.|
|000023f0| 25 20 5c 63 68 61 6e 67 | 65 73 7b 76 30 2e 33 61 |% \chang|es{v0.3a|
|00002400| 7d 7b 31 39 39 34 2f 30 | 37 2f 32 30 7d 0a 25 20 |}{1994/0|7/20}.% |
|00002410| 20 20 20 20 7b 4e 65 77 | 20 69 6e 74 65 72 6e 61 | {New| interna|
|00002420| 6c 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |l implem|entation|
|00002430| 20 6f 66 20 63 6f 6c 6f | 75 72 20 63 6f 6d 6d 61 | of colo|ur comma|
|00002440| 6e 64 73 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |nds}.% \|changes{|
|00002450| 76 30 2e 33 66 7d 7b 31 | 39 39 34 2f 31 30 2f 30 |v0.3f}{1|994/10/0|
|00002460| 34 7d 0a 25 20 20 20 20 | 20 7b 47 69 76 65 20 69 |4}.% | {Give i|
|00002470| 6e 66 6f 20 61 62 6f 75 | 74 20 72 65 64 65 66 69 |nfo abou|t redefi|
|00002480| 6e 69 74 69 6f 6e 73 7d | 0a 25 20 20 20 20 5c 62 |nitions}|.% \b|
|00002490| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|000024a0| 5c 64 65 66 5c 64 65 66 | 69 6e 65 63 6f 6c 6f 72 |\def\def|inecolor|
|000024b0| 23 31 23 32 23 33 7b 25 | 0a 20 20 5c 40 69 66 75 |#1#2#3{%|. \@ifu|
|000024c0| 6e 64 65 66 69 6e 65 64 | 7b 63 6f 6c 6f 72 40 23 |ndefined|{color@#|
|000024d0| 32 7d 25 0a 20 20 20 20 | 7b 5c 40 6c 61 74 65 78 |2}%. |{\@latex|
|000024e0| 40 65 72 72 6f 72 7b 55 | 6e 64 65 66 69 6e 65 64 |@error{U|ndefined|
|000024f0| 20 63 6f 6c 6f 72 20 6d | 6f 64 65 6c 20 60 23 32 | color m|odel `#2|
|00002500| 27 7d 5c 40 65 68 64 7d | 25 0a 20 20 20 20 7b 5c |'}\@ehd}|%. {\|
|00002510| 40 69 66 75 6e 64 65 66 | 69 6e 65 64 7b 5c 73 74 |@ifundef|ined{\st|
|00002520| 72 69 6e 67 5c 63 6f 6c | 6f 72 20 40 23 31 7d 7b |ring\col|or @#1}{|
|00002530| 7d 25 0a 20 20 20 20 20 | 20 7b 5c 50 61 63 6b 61 |}%. | {\Packa|
|00002540| 67 65 49 6e 66 6f 7b 63 | 6f 6c 6f 72 7d 7b 52 65 |geInfo{c|olor}{Re|
|00002550| 64 65 66 69 6e 69 6e 67 | 20 63 6f 6c 6f 72 20 23 |defining| color #|
|00002560| 31 7d 7d 25 0a 20 20 20 | 20 20 5c 63 73 6e 61 6d |1}}%. | \csnam|
|00002570| 65 20 63 6f 6c 6f 72 40 | 23 32 5c 65 78 70 61 6e |e color@|#2\expan|
|00002580| 64 61 66 74 65 72 5c 65 | 6e 64 63 73 6e 61 6d 65 |dafter\e|ndcsname|
|00002590| 0a 20 20 20 20 20 20 20 | 20 20 5c 63 73 6e 61 6d |. | \csnam|
|000025a0| 65 5c 73 74 72 69 6e 67 | 5c 63 6f 6c 6f 72 20 40 |e\string|\color @|
|000025b0| 23 31 5c 65 6e 64 63 73 | 6e 61 6d 65 7b 23 33 7d |#1\endcs|name{#3}|
|000025c0| 7d 7d 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |}}.% |\end{mac|
|000025d0| 72 6f 63 6f 64 65 7d 0a | 25 20 20 5c 65 6e 64 7b |rocode}.|% \end{|
|000025e0| 6d 61 63 72 6f 7d 0a 25 | 0a 25 0a 25 20 20 5c 62 |macro}.%|.%.% \b|
|000025f0| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 44 65 66 |egin{mac|ro}{\Def|
|00002600| 69 6e 65 4e 61 6d 65 64 | 43 6f 6c 6f 72 7d 0a 25 |ineNamed|Color}.%|
|00002610| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 33 64 7d | \change|s{v0.3d}|
|00002620| 7b 31 39 39 34 2f 30 39 | 2f 32 39 7d 0a 25 20 20 |{1994/09|/29}.% |
|00002630| 20 20 20 7b 4d 61 63 72 | 6f 20 61 64 64 65 64 7d | {Macr|o added}|
|00002640| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 30 2e 33 |.% \chan|ges{v0.3|
|00002650| 65 7d 7b 31 39 39 34 2f | 31 30 2f 30 33 7d 0a 25 |e}{1994/|10/03}.%|
|00002660| 20 20 20 20 20 7b 75 73 | 65 6e 61 6d 65 73 20 6f | {us|enames o|
|00002670| 70 74 69 6f 6e 20 61 64 | 64 65 64 7d 0a 25 20 5c |ption ad|ded}.% \|
|00002680| 63 68 61 6e 67 65 73 7b | 76 30 2e 33 66 7d 7b 31 |changes{|v0.3f}{1|
|00002690| 39 39 34 2f 31 30 2f 30 | 34 7d 0a 25 20 20 20 20 |994/10/0|4}.% |
|000026a0| 20 7b 47 69 76 65 20 69 | 6e 66 6f 20 61 62 6f 75 | {Give i|nfo abou|
|000026b0| 74 20 72 65 64 65 66 69 | 6e 69 74 69 6f 6e 73 7d |t redefi|nitions}|
|000026c0| 0a 25 0a 25 20 44 72 69 | 76 65 72 20 66 69 6c 65 |.%.% Dri|ver file|
|000026d0| 73 20 6d 61 79 20 6f 70 | 74 20 74 6f 20 64 65 66 |s may op|t to def|
|000026e0| 69 6e 65 20 61 20 60 6e | 61 6d 65 64 27 20 63 6f |ine a `n|amed' co|
|000026f0| 6c 6f 75 72 20 6d 6f 64 | 65 6c 2e 0a 25 20 50 6c |lour mod|el..% Pl|
|00002700| 61 63 69 6e 67 20 63 6f | 6c 6f 75 72 20 6e 61 6d |acing co|lour nam|
|00002710| 65 73 20 72 61 74 68 65 | 72 20 74 68 61 6e 20 6e |es rathe|r than n|
|00002720| 75 6d 65 72 69 63 20 73 | 70 65 63 69 66 69 63 61 |umeric s|pecifica|
|00002730| 74 69 6f 6e 73 20 69 6e | 74 6f 20 74 68 65 20 64 |tions in|to the d|
|00002740| 76 69 0a 25 20 66 69 6c | 65 20 68 61 73 20 63 65 |vi.% fil|e has ce|
|00002750| 72 74 61 69 6e 20 61 64 | 76 61 6e 74 61 67 65 73 |rtain ad|vantages|
|00002760| 2c 20 69 6e 20 74 68 61 | 74 20 70 6f 73 74 20 70 |, in tha|t post p|
|00002770| 72 6f 63 65 73 73 69 6e | 67 20 73 6f 66 74 77 61 |rocessin|g softwa|
|00002780| 72 65 20 63 61 6e 20 0a | 25 20 74 75 6e 65 20 74 |re can .|% tune t|
|00002790| 68 65 20 63 6f 6c 6f 75 | 72 20 73 70 65 63 69 66 |he colou|r specif|
|000027a0| 69 63 61 74 69 6f 6e 73 | 20 74 6f 20 74 68 65 20 |ications| to the |
|000027b0| 70 61 72 74 69 63 75 6c | 61 72 20 74 65 63 68 6e |particul|ar techn|
|000027c0| 6f 6c 6f 67 79 20 62 65 | 69 6e 67 0a 25 20 75 73 |ology be|ing.% us|
|000027d0| 65 64 2c 20 61 6e 64 20 | 6d 6f 72 65 20 65 61 73 |ed, and |more eas|
|000027e0| 69 6c 79 20 6d 61 6b 65 | 20 63 6f 6c 6f 75 72 20 |ily make| colour |
|000027f0| 73 65 70 61 72 61 74 69 | 6f 6e 73 20 66 6f 72 20 |separati|ons for |
|00002800| 74 68 61 74 20 63 6f 6c | 6f 75 72 2e 0a 25 20 54 |that col|our..% T|
|00002810| 68 65 20 64 69 73 61 64 | 76 61 6e 74 61 67 65 20 |he disad|vantage |
|00002820| 69 73 20 74 68 61 74 20 | 74 68 65 20 64 72 69 76 |is that |the driv|
|00002830| 65 72 20 6d 75 73 74 20 | 60 6b 6e 6f 77 27 20 74 |er must |`know' t|
|00002840| 68 65 20 63 6f 6c 6f 75 | 72 0a 25 20 6e 61 6d 65 |he colou|r.% name|
|00002850| 73 2e 0a 25 0a 25 20 54 | 68 65 20 60 63 6f 6c 6f |s..%.% T|he `colo|
|00002860| 72 31 27 20 64 72 69 76 | 65 72 73 20 28 64 76 69 |r1' driv|ers (dvi|
|00002870| 70 73 29 20 63 75 72 72 | 65 6e 74 6c 79 20 69 67 |ps) curr|ently ig|
|00002880| 6e 6f 72 65 20 74 68 65 | 20 73 70 65 63 69 66 69 |nore the| specifi|
|00002890| 63 61 74 69 6f 6e 20 6f | 66 0a 25 20 74 68 65 20 |cation o|f.% the |
|000028a0| 63 6f 6c 6f 75 72 2c 20 | 61 6e 64 20 6f 6e 63 65 |colour, |and once|
|000028b0| 20 61 20 6e 61 6d 65 20 | 69 73 20 64 65 66 69 6e | a name |is defin|
|000028c0| 65 64 2c 20 6a 75 73 74 | 20 70 75 74 20 74 68 65 |ed, just| put the|
|000028d0| 20 63 6f 6c 6f 75 72 20 | 6e 61 6d 65 20 69 6e 0a | colour |name in.|
|000028e0| 25 20 74 68 65 20 64 76 | 69 20 66 69 6c 65 2e 20 |% the dv|i file. |
|000028f0| 46 6f 72 20 64 76 69 70 | 73 2c 20 54 68 65 20 68 |For dvip|s, The h|
|00002900| 65 61 64 65 72 20 66 69 | 6c 65 20 5c 74 65 78 74 |eader fi|le \text|
|00002910| 74 74 7b 63 6f 6c 6f 72 | 2e 70 72 6f 7d 20 69 73 |tt{color|.pro} is|
|00002920| 20 75 73 65 64 20 74 6f | 0a 25 20 67 69 76 65 20 | used to|.% give |
|00002930| 74 68 65 20 63 6d 79 6b | 20 65 71 75 69 76 61 6c |the cmyk| equival|
|00002940| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 6e 61 6d 65 |ents of |the name|
|00002950| 73 2e 0a 25 0a 25 20 54 | 68 65 20 60 63 6f 6c 6f |s..%.% T|he `colo|
|00002960| 72 32 27 20 64 72 69 76 | 65 72 73 20 28 74 65 78 |r2' driv|ers (tex|
|00002970| 74 75 72 65 73 29 20 75 | 73 65 20 61 20 73 70 65 |tures) u|se a spe|
|00002980| 63 69 61 6c 20 70 6f 73 | 74 73 63 72 69 70 74 20 |cial pos|tscript |
|00002990| 6f 70 65 72 61 74 6f 72 | 0a 25 20 74 68 61 74 20 |operator|.% that |
|000029a0| 74 61 6b 65 73 20 62 6f | 74 68 20 74 68 65 20 6e |takes bo|th the n|
|000029b0| 61 6d 65 20 61 6e 64 20 | 74 68 65 20 63 6d 79 6b |ame and |the cmyk|
|000029c0| 20 65 71 75 69 76 61 6c | 65 6e 74 2e 20 73 6f 20 | equival|ent. so |
|000029d0| 69 66 20 74 68 65 20 6e | 61 6d 65 73 20 61 72 65 |if the n|ames are|
|000029e0| 0a 25 20 6e 6f 20 62 65 | 69 6e 67 20 75 73 65 64 |.% no be|ing used|
|000029f0| 2c 20 66 61 6c 6c 20 62 | 61 63 6b 27 20 64 65 66 |, fall b|ack' def|
|00002a00| 69 6e 69 74 69 6f 6e 73 | 20 69 6e 20 74 68 65 20 |initions| in the |
|00002a10| 63 6d 79 6b 20 6d 6f 64 | 65 6c 20 61 72 65 20 61 |cmyk mod|el are a|
|00002a20| 76 61 69 6c 61 62 6c 65 | 2e 0a 25 20 54 68 65 73 |vailable|..% Thes|
|00002a30| 65 20 64 72 69 76 65 72 | 73 20 61 6c 73 6f 20 61 |e driver|s also a|
|00002a40| 6c 6c 6f 77 20 61 20 6e | 75 6d 65 72 69 63 20 76 |llow a n|umeric v|
|00002a50| 61 6c 75 65 20 74 6f 20 | 61 66 66 65 63 74 20 74 |alue to |affect t|
|00002a60| 68 65 20 60 64 65 6e 73 | 69 74 79 27 0a 25 20 6f |he `dens|ity'.% o|
|00002a70| 66 20 74 68 65 20 63 6f | 6c 6f 75 72 20 74 6f 20 |f the co|lour to |
|00002a80| 75 73 65 2e 0a 25 0a 25 | 20 44 72 69 76 65 72 73 |use..%.%| Drivers|
|00002a90| 20 62 61 73 65 64 20 6f | 6e 20 60 63 6f 6c 6f 72 | based o|n `color|
|00002aa0| 33 27 20 64 6f 20 6e 6f | 74 20 73 75 70 70 6f 72 |3' do no|t suppor|
|00002ab0| 74 20 6e 61 6d 65 64 20 | 63 6f 6c 6f 75 72 73 20 |t named |colours |
|00002ac0| 61 74 20 74 68 65 20 64 | 76 69 0a 25 20 6c 65 76 |at the d|vi.% lev|
|00002ad0| 65 6c 2c 20 62 75 74 20 | 74 6f 20 65 61 73 65 20 |el, but |to ease |
|00002ae0| 64 6f 63 75 6d 65 6e 74 | 20 70 6f 72 74 61 62 69 |document| portabi|
|00002af0| 6c 69 74 79 2c 20 74 68 | 65 20 6e 61 6d 65 64 20 |lity, th|e named |
|00002b00| 6d 6f 64 65 6c 20 69 73 | 20 73 74 69 6c 6c 0a 25 |model is| still.%|
|00002b10| 20 64 65 66 69 6e 65 64 | 2c 20 62 75 74 20 74 68 | defined|, but th|
|00002b20| 65 20 7c 5c 73 70 65 63 | 69 61 6c 7c 27 73 20 6a |e |\spec|ial|'s j|
|00002b30| 75 73 74 20 70 75 74 20 | 74 68 65 20 63 6f 6c 6f |ust put |the colo|
|00002b40| 75 72 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |ur speci|fication|
|00002b50| 73 2c 20 6e 6f 74 0a 25 | 20 74 68 65 20 6e 61 6d |s, not.%| the nam|
|00002b60| 65 73 2c 20 69 6e 74 6f | 20 74 68 65 20 64 76 69 |es, into| the dvi|
|00002b70| 20 66 69 6c 65 2e 0a 25 | 0a 25 20 4e 6f 72 6d 61 | file..%|.% Norma|
|00002b80| 6c 6c 79 20 61 66 74 65 | 72 20 61 20 63 6f 6c 6f |lly afte|r a colo|
|00002b90| 75 72 2c 20 73 61 79 20 | 7c 4a 75 6e 67 6c 65 47 |ur, say ||JungleG|
|00002ba0| 72 65 65 6e 7c 2c 20 68 | 61 73 20 62 65 65 6e 20 |reen|, h|as been |
|00002bb0| 64 65 63 6c 61 72 65 64 | 20 77 69 74 68 3a 5c 5c |declared| with:\\|
|00002bc0| 0a 25 20 7c 5c 44 65 66 | 69 6e 65 4e 61 6d 65 64 |.% |\Def|ineNamed|
|00002bd0| 43 6f 6c 6f 72 7b 6e 61 | 6d 65 64 7d 7b 4a 75 6e |Color{na|med}{Jun|
|00002be0| 67 6c 65 47 72 65 65 6e | 7d 7b 63 6d 79 6b 7d 7b |gleGreen|}{cmyk}{|
|00002bf0| 31 2c 32 2c 33 2c 34 7d | 7c 5c 5c 0a 25 20 20 69 |1,2,3,4}||\\.% i|
|00002c00| 74 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 20 69 |t is ava|ilable i|
|00002c10| 6e 20 74 68 65 20 60 6e | 61 6d 65 64 27 20 63 6f |n the `n|amed' co|
|00002c20| 6c 6f 75 72 20 6d 6f 64 | 65 6c 2c 20 66 6f 72 0a |lour mod|el, for.|
|00002c30| 25 20 69 6e 73 74 61 6e | 63 65 20 62 79 5c 5c 0a |% instan|ce by\\.|
|00002c40| 25 20 20 7c 5c 63 6f 6c | 6f 72 5b 6e 61 6d 65 64 |% |\col|or[named|
|00002c50| 5d 7b 4a 75 6e 67 6c 65 | 47 72 65 65 6e 7d 7c 5c |]{Jungle|Green}|\|
|00002c60| 5c 0a 25 20 41 20 75 73 | 65 72 20 6d 61 79 20 67 |\.% A us|er may g|
|00002c70| 69 76 65 20 61 20 6d 6f | 72 65 20 63 6f 6e 76 65 |ive a mo|re conve|
|00002c80| 6e 69 65 6e 74 20 6e 61 | 6d 65 2c 20 75 73 69 6e |nient na|me, usin|
|00002c90| 67 5c 5c 0a 25 20 20 7c | 5c 64 65 66 69 6e 65 63 |g\\.% ||\definec|
|00002ca0| 6f 6c 6f 72 7b 6d 79 67 | 72 65 65 6e 7d 7b 6e 61 |olor{myg|reen}{na|
|00002cb0| 6d 65 64 7d 7b 4a 75 6e | 67 6c 65 47 72 65 65 6e |med}{Jun|gleGreen|
|00002cc0| 7d 7c 5c 5c 0a 25 20 49 | 66 20 68 6f 77 65 76 65 |}|\\.% I|f howeve|
|00002cd0| 72 20 79 6f 75 20 61 72 | 65 20 20 68 61 70 70 79 |r you ar|e happy|
|00002ce0| 20 77 69 74 68 20 74 68 | 65 20 6f 72 69 67 69 6e | with th|e origin|
|00002cf0| 61 6c 20 6e 61 6d 65 73 | 2c 20 61 6e 64 20 77 61 |al names|, and wa|
|00002d00| 6e 74 20 74 6f 20 75 73 | 65 0a 25 20 74 68 65 6d |nt to us|e.% them|
|00002d10| 20 64 69 72 65 63 74 6c | 79 2c 20 61 73 20 69 6e | directl|y, as in|
|00002d20| 20 7c 5c 63 6f 6c 6f 72 | 7b 4a 75 6e 67 6c 65 47 | |\color|{JungleG|
|00002d30| 72 65 65 6e 7d 7c 20 77 | 69 74 68 6f 75 74 20 73 |reen}| w|ithout s|
|00002d40| 70 65 63 69 66 79 69 6e | 67 0a 25 20 7c 5b 6e 61 |pecifyin|g.% |[na|
|00002d50| 6d 65 64 5d 7c 20 61 6c | 6c 20 74 68 65 20 74 69 |med]| al|l the ti|
|00002d60| 6d 65 2c 20 6a 75 73 74 | 20 67 69 76 65 20 74 68 |me, just| give th|
|00002d70| 65 20 70 61 63 6b 61 67 | 65 20 6f 70 74 69 6f 6e |e packag|e option|
|00002d80| 20 7c 75 73 65 6e 61 6d | 65 73 7c 2c 20 77 68 69 | |usenam|es|, whi|
|00002d90| 63 68 0a 25 20 77 69 6c | 6c 20 72 65 64 65 66 69 |ch.% wil|l redefi|
|00002da0| 6e 65 20 7c 5c 44 65 66 | 69 6e 65 4e 61 6d 65 64 |ne |\Def|ineNamed|
|00002db0| 43 6f 6c 6f 72 7c 2c 20 | 73 6f 20 74 68 61 74 20 |Color|, |so that |
|00002dc0| 74 68 65 20 63 6f 6c 6f | 75 72 20 6e 61 6d 65 20 |the colo|ur name |
|00002dd0| 69 73 20 64 65 63 6c 61 | 72 65 64 0a 25 20 61 73 |is decla|red.% as|
|00002de0| 20 61 20 75 73 65 72 2d | 63 6f 6c 6f 75 72 20 61 | a user-|colour a|
|00002df0| 73 20 77 65 6c 6c 20 61 | 73 20 61 20 6e 61 6d 65 |s well a|s a name|
|00002e00| 20 69 6e 20 74 68 65 20 | 60 6e 61 6d 65 64 27 20 | in the |`named' |
|00002e10| 6d 6f 64 65 6c 2e 0a 25 | 20 20 20 20 5c 62 65 67 |model..%| \beg|
|00002e20| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|00002e30| 65 66 5c 44 65 66 69 6e | 65 4e 61 6d 65 64 43 6f |ef\Defin|eNamedCo|
|00002e40| 6c 6f 72 23 31 23 32 23 | 33 23 34 7b 25 0a 20 20 |lor#1#2#|3#4{%. |
|00002e50| 5c 40 69 66 75 6e 64 65 | 66 69 6e 65 64 7b 64 65 |\@ifunde|fined{de|
|00002e60| 66 69 6e 65 40 63 6f 6c | 6f 72 40 23 31 7d 25 0a |fine@col|or@#1}%.|
|00002e70| 20 20 20 20 7b 5c 40 6c | 61 74 65 78 40 65 72 72 | {\@l|atex@err|
|00002e80| 6f 72 7b 55 6e 64 65 66 | 69 6e 65 64 20 63 6f 6c |or{Undef|ined col|
|00002e90| 6f 72 20 6d 6f 64 65 6c | 20 60 23 31 27 7d 5c 40 |or model| `#1'}\@|
|00002ea0| 65 68 64 7d 25 0a 20 20 | 20 20 7b 5c 40 69 66 75 |ehd}%. | {\@ifu|
|00002eb0| 6e 64 65 66 69 6e 65 64 | 7b 63 6f 6c 6f 72 40 23 |ndefined|{color@#|
|00002ec0| 33 7d 25 0a 20 20 20 20 | 20 20 7b 5c 40 6c 61 74 |3}%. | {\@lat|
|00002ed0| 65 78 40 65 72 72 6f 72 | 7b 55 6e 64 65 66 69 6e |ex@error|{Undefin|
|00002ee0| 65 64 20 63 6f 6c 6f 72 | 20 6d 6f 64 65 6c 20 60 |ed color| model `|
|00002ef0| 23 33 27 7d 5c 40 65 68 | 64 7d 25 0a 20 20 20 20 |#3'}\@eh|d}%. |
|00002f00| 20 20 7b 5c 40 69 66 75 | 6e 64 65 66 69 6e 65 64 | {\@ifu|ndefined|
|00002f10| 7b 63 40 6c 6f 72 40 23 | 31 40 23 32 7d 7b 7d 25 |{c@lor@#|1@#2}{}%|
|00002f20| 0a 20 20 20 20 20 20 20 | 20 7b 5c 50 61 63 6b 61 |. | {\Packa|
|00002f30| 67 65 49 6e 66 6f 7b 63 | 6f 6c 6f 72 7d 7b 52 65 |geInfo{c|olor}{Re|
|00002f40| 64 65 66 69 6e 69 6e 67 | 20 63 6f 6c 6f 72 20 23 |defining| color #|
|00002f50| 32 20 69 6e 20 6e 61 6d | 65 64 20 63 6f 6c 6f 72 |2 in nam|ed color|
|00002f60| 20 6d 6f 64 65 6c 7d 7d | 25 0a 20 20 20 20 20 20 | model}}|%. |
|00002f70| 5c 63 73 6e 61 6d 65 20 | 63 6f 6c 6f 72 40 23 33 |\csname |color@#3|
|00002f80| 5c 65 6e 64 63 73 6e 61 | 6d 65 5c 40 74 65 6d 70 |\endcsna|me\@temp|
|00002f90| 61 7b 23 34 7d 25 0a 20 | 20 20 20 20 20 5c 63 73 |a{#4}%. | \cs|
|00002fa0| 6e 61 6d 65 20 64 65 66 | 69 6e 65 40 63 6f 6c 6f |name def|ine@colo|
|00002fb0| 72 40 23 31 5c 65 6e 64 | 63 73 6e 61 6d 65 7b 23 |r@#1\end|csname{#|
|00002fc0| 32 7d 5c 40 74 65 6d 70 | 61 0a 20 20 20 20 20 20 |2}\@temp|a. |
|00002fd0| 5c 63 40 6c 6f 72 40 75 | 73 65 6e 61 6d 65 7b 23 |\c@lor@u|sename{#|
|00002fe0| 32 7d 7d 7d 7d 0a 5c 40 | 6f 6e 6c 79 70 72 65 61 |2}}}}.\@|onlyprea|
|00002ff0| 6d 62 6c 65 5c 44 65 66 | 69 6e 65 4e 61 6d 65 64 |mble\Def|ineNamed|
|00003000| 43 6f 6c 6f 72 0a 25 20 | 20 20 20 5c 65 6e 64 7b |Color.% | \end{|
|00003010| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 20 20 5c 65 |macrocod|e}.% \e|
|00003020| 6e 64 7b 6d 61 63 72 6f | 7d 0a 25 0a 25 20 5c 73 |nd{macro|}.%.% \s|
|00003030| 65 63 74 69 6f 6e 7b 43 | 6f 6c 6f 75 72 20 53 77 |ection{C|olour Sw|
|00003040| 69 74 63 68 7d 0a 25 0a | 25 20 20 5c 62 65 67 69 |itch}.%.|% \begi|
|00003050| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 69 66 63 6f 6c 6f |n{macro}|{\ifcolo|
|00003060| 72 40 7d 0a 25 20 54 68 | 69 73 20 62 6f 6f 6c 65 |r@}.% Th|is boole|
|00003070| 61 6e 20 63 61 6e 20 62 | 65 20 74 65 73 74 65 64 |an can b|e tested|
|00003080| 20 62 79 20 68 69 67 68 | 65 72 20 6c 65 76 65 6c | by high|er level|
|00003090| 20 6d 61 63 72 6f 73 20 | 74 68 61 74 20 6d 61 79 | macros |that may|
|000030a0| 20 77 61 6e 74 20 74 6f | 0a 25 20 61 6c 74 65 72 | want to|.% alter|
|000030b0| 20 74 68 65 69 72 20 62 | 65 68 61 76 69 6f 75 72 | their b|ehaviour|
|000030c0| 20 69 66 20 61 20 6d 6f | 6e 6f 63 68 72 6f 6d 65 | if a mo|nochrome|
|000030d0| 20 64 72 69 76 65 72 20 | 69 73 20 62 65 69 6e 67 | driver |is being|
|000030e0| 20 75 73 65 64 2e 0a 25 | 20 20 20 20 5c 62 65 67 | used..%| \beg|
|000030f0| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 6e |in{macro|code}.\n|
|00003100| 65 77 69 66 5c 69 66 63 | 6f 6c 6f 72 73 40 0a 5c |ewif\ifc|olors@.\|
|00003110| 63 6f 6c 6f 72 73 40 74 | 72 75 65 0a 25 20 20 20 |colors@t|rue.% |
|00003120| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00003130| 0a 25 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |.% \end|{macro}.|
|00003140| 25 0a 25 20 5c 73 65 63 | 74 69 6f 6e 7b 57 68 61 |%.% \sec|tion{Wha|
|00003150| 74 73 69 74 5c 6c 64 6f | 74 73 7d 0a 25 0a 25 20 |tsit\ldo|ts}.%.% |
|00003160| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 63 |\begin{m|acro}{\c|
|00003170| 40 6c 6f 72 40 73 70 65 | 63 69 61 6c 7d 0a 25 20 |@lor@spe|cial}.% |
|00003180| 53 6f 6d 65 20 64 72 69 | 76 65 72 73 20 63 61 6e |Some dri|vers can|
|00003190| 20 6e 6f 74 20 73 75 70 | 70 6f 72 74 20 61 6c 6c | not sup|port all|
|000031a0| 20 74 68 65 20 66 65 61 | 74 75 72 65 73 20 6f 66 | the fea|tures of|
|000031b0| 20 74 68 69 73 20 70 61 | 63 6b 61 67 65 2e 20 54 | this pa|ckage. T|
|000031c0| 68 65 79 0a 25 20 73 68 | 6f 75 6c 64 20 61 6c 77 |hey.% sh|ould alw|
|000031d0| 61 79 73 20 70 75 74 20 | 61 20 5c 6d 65 74 61 7b |ays put |a \meta{|
|000031e0| 77 68 61 74 73 69 74 7d | 20 69 6e 20 74 68 65 20 |whatsit}| in the |
|000031f0| 63 75 72 72 65 6e 74 20 | 6c 69 73 74 20 74 68 6f |current |list tho|
|00003200| 75 67 68 2e 20 74 68 65 | 0a 25 20 66 6f 6c 6c 6f |ugh. the|.% follo|
|00003210| 77 69 6e 67 20 6d 61 63 | 72 6f 20 68 61 73 20 6d |wing mac|ro has m|
|00003220| 6f 73 74 20 6f 66 20 74 | 68 65 20 66 65 61 74 75 |ost of t|he featu|
|00003230| 72 65 73 20 6f 66 20 7c | 5c 73 70 65 63 69 61 6c |res of ||\special|
|00003240| 7c 2c 20 62 75 74 20 64 | 6f 65 73 20 6e 6f 74 20 ||, but d|oes not |
|00003250| 0a 25 20 70 75 74 20 61 | 6e 79 74 68 69 6e 67 20 |.% put a|nything |
|00003260| 69 6e 74 6f 20 74 68 65 | 20 7c 64 76 69 7c 20 66 |into the| |dvi| f|
|00003270| 69 6c 65 2e 20 49 74 20 | 64 6f 65 73 20 77 72 69 |ile. It |does wri|
|00003280| 74 65 20 74 6f 20 74 68 | 65 20 6c 6f 67 20 66 69 |te to th|e log fi|
|00003290| 6c 65 20 6f 72 20 74 68 | 65 0a 25 20 74 65 72 6d |le or th|e.% term|
|000032a0| 69 6e 61 6c 20 28 64 65 | 70 65 6e 64 69 6e 67 20 |inal (de|pending |
|000032b0| 6f 6e 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |on the v|alue of |
|000032c0| 7c 23 31 7c 29 2e 0a 25 | 20 20 20 20 5c 62 65 67 ||#1|)..%| \beg|
|000032d0| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|000032e0| 65 66 5c 63 40 6c 6f 72 | 40 73 70 65 63 69 61 6c |ef\c@lor|@special|
|000032f0| 23 31 23 32 7b 25 0a 20 | 20 5c 65 64 65 66 5c 40 |#1#2{%. | \edef\@|
|00003300| 74 65 6d 70 61 7b 5c 77 | 72 69 74 65 23 31 7b 23 |tempa{\w|rite#1{#|
|00003310| 32 7d 7d 5c 40 74 65 6d | 70 61 7d 0a 25 20 20 20 |2}}\@tem|pa}.% |
|00003320| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00003330| 0a 25 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |.% \end|{macro}.|
|00003340| 25 0a 25 20 5c 73 65 63 | 74 69 6f 6e 7b 50 72 6f |%.% \sec|tion{Pro|
|00003350| 63 65 73 73 69 6e 67 20 | 4f 70 74 69 6f 6e 73 7d |cessing |Options}|
|00003360| 0a 25 0a 25 20 41 20 6c | 6f 63 61 6c 20 63 6f 6e |.%.% A l|ocal con|
|00003370| 66 69 67 75 72 61 74 69 | 6f 6e 20 66 69 6c 65 20 |figurati|on file |
|00003380| 6d 61 79 20 64 65 63 6c | 61 72 65 20 6d 6f 72 65 |may decl|are more|
|00003390| 20 6f 70 74 69 6f 6e 73 | 2e 0a 25 20 49 74 20 73 | options|..% It s|
|000033a0| 68 6f 75 6c 64 20 61 6c | 73 6f 20 6d 61 6b 65 20 |hould al|so make |
|000033b0| 6f 6e 65 20 64 72 69 76 | 65 72 20 6f 70 74 69 6f |one driv|er optio|
|000033c0| 6e 20 74 68 65 20 64 65 | 66 61 75 6c 74 2c 20 62 |n the de|fault, b|
|000033d0| 79 20 63 61 6c 6c 69 6e | 67 0a 25 20 7c 5c 45 78 |y callin|g.% |\Ex|
|000033e0| 65 63 75 74 65 4f 70 74 | 69 6f 6e 73 7c 20 77 69 |ecuteOpt|ions| wi|
|000033f0| 74 68 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |th the a|ppropria|
|00003400| 74 65 20 6f 70 74 69 6f | 6e 2e 0a 25 20 20 20 20 |te optio|n..% |
|00003410| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00003420| 7d 0a 5c 49 6e 70 75 74 | 49 66 46 69 6c 65 45 78 |}.\Input|IfFileEx|
|00003430| 69 73 74 73 7b 63 6f 6c | 6f 72 2e 63 66 67 7d 7b |ists{col|or.cfg}{|
|00003440| 7d 7b 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |}{}.% | \end{ma|
|00003450| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 41 66 74 |crocode}|.%.% Aft|
|00003460| 65 72 20 74 68 65 20 6f | 70 74 69 6f 6e 73 20 61 |er the o|ptions a|
|00003470| 72 65 20 70 72 6f 63 65 | 73 73 65 64 2c 20 6c 6f |re proce|ssed, lo|
|00003480| 61 64 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |ad the a|ppropria|
|00003490| 74 65 20 64 72 69 76 65 | 72 20 66 69 6c 65 2e 0a |te drive|r file..|
|000034a0| 25 20 49 66 20 61 20 73 | 69 74 65 20 77 61 6e 74 |% If a s|ite want|
|000034b0| 73 20 61 20 64 65 66 61 | 75 6c 74 20 64 72 69 76 |s a defa|ult driv|
|000034c0| 65 72 20 28 65 67 20 7c | 64 76 69 70 73 7c 29 20 |er (eg ||dvips|) |
|000034d0| 69 74 20 6a 75 73 74 20 | 6e 65 65 64 73 20 74 6f |it just |needs to|
|000034e0| 20 70 75 74 0a 25 20 7c | 5c 45 78 65 63 75 74 65 | put.% ||\Execute|
|000034f0| 4f 70 74 69 6f 6e 73 7b | 64 76 69 70 73 7d 7c 20 |Options{|dvips}| |
|00003500| 69 6e 20 61 20 7c 63 6f | 6c 6f 72 2e 63 66 67 7c |in a |co|lor.cfg||
|00003510| 20 66 69 6c 65 2e 0a 25 | 20 5c 63 68 61 6e 67 65 | file..%| \change|
|00003520| 73 7b 76 30 2e 33 62 7d | 7b 31 39 39 34 2f 30 39 |s{v0.3b}|{1994/09|
|00003530| 2f 31 34 7d 0a 25 20 20 | 20 20 20 20 20 20 20 20 |/14}.% | |
|00003540| 20 20 20 20 20 20 7b 4e | 65 77 20 73 74 79 6c 65 | {N|ew style|
|00003550| 20 6f 66 20 6c 6f 61 64 | 69 6e 67 20 64 72 69 76 | of load|ing driv|
|00003560| 65 72 20 66 69 6c 65 73 | 7d 0a 25 20 20 20 20 5c |er files|}.% \|
|00003570| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00003580| 0a 5c 50 72 6f 63 65 73 | 73 4f 70 74 69 6f 6e 73 |.\Proces|sOptions|
|00003590| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|000035a0| 63 6f 64 65 7d 0a 25 0a | 25 20 20 20 20 5c 62 65 |code}.%.|% \be|
|000035b0| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|000035c0| 69 66 21 5c 47 69 6e 40 | 64 72 69 76 65 72 21 0a |if!\Gin@|driver!.|
|000035d0| 20 20 5c 50 61 63 6b 61 | 67 65 45 72 72 6f 72 7b | \Packa|geError{|
|000035e0| 63 6f 6c 6f 72 7d 0a 20 | 20 20 20 7b 4e 6f 20 64 |color}. | {No d|
|000035f0| 72 69 76 65 72 20 73 70 | 65 63 69 66 69 65 64 7d |river sp|ecified}|
|00003600| 0a 20 20 20 20 7b 59 6f | 75 20 73 68 6f 75 6c 64 |. {Yo|u should|
|00003610| 20 6d 61 6b 65 20 61 20 | 64 65 66 61 75 6c 74 20 | make a |default |
|00003620| 64 72 69 76 65 72 20 6f | 70 74 69 6f 6e 20 69 6e |driver o|ption in|
|00003630| 20 61 20 66 69 6c 65 20 | 5c 4d 65 73 73 61 67 65 | a file |\Message|
|00003640| 42 72 65 61 6b 0a 20 20 | 20 20 20 63 6f 6c 6f 72 |Break. | color|
|00003650| 2e 63 66 67 5c 4d 65 73 | 73 61 67 65 42 72 65 61 |.cfg\Mes|sageBrea|
|00003660| 6b 0a 20 20 20 20 20 65 | 67 3a 20 5c 70 72 6f 74 |k. e|g: \prot|
|00003670| 65 63 74 5c 45 78 65 63 | 75 74 65 4f 70 74 69 6f |ect\Exec|uteOptio|
|00003680| 6e 73 7b 64 76 69 70 73 | 7d 25 0a 20 20 20 20 20 |ns{dvips|}%. |
|00003690| 7d 0a 5c 65 6c 73 65 0a | 20 20 5c 50 61 63 6b 61 |}.\else.| \Packa|
|000036a0| 67 65 49 6e 66 6f 7b 63 | 6f 6c 6f 72 7d 7b 44 72 |geInfo{c|olor}{Dr|
|000036b0| 69 76 65 72 20 66 69 6c | 65 3a 20 5c 47 69 6e 40 |iver fil|e: \Gin@|
|000036c0| 64 72 69 76 65 72 7d 0a | 20 20 5c 40 69 66 75 6e |driver}.| \@ifun|
|000036d0| 64 65 66 69 6e 65 64 7b | 76 65 72 40 5c 47 69 6e |defined{|ver@\Gin|
|000036e0| 40 64 72 69 76 65 72 7d | 7b 5c 69 6e 70 75 74 7b |@driver}|{\input{|
|000036f0| 5c 47 69 6e 40 64 72 69 | 76 65 72 7d 7d 7b 7d 0a |\Gin@dri|ver}}{}.|
|00003700| 5c 66 69 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |\fi.% | \end{ma|
|00003710| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 20 20 20 |crocode}|.%.% |
|00003720| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00003730| 7d 0a 5c 40 69 66 75 6e | 64 65 66 69 6e 65 64 7b |}.\@ifun|defined{|
|00003740| 63 40 6c 6f 72 40 6e 61 | 6d 65 66 69 6c 65 7d 7b |c@lor@na|mefile}{|
|00003750| 7d 7b 5c 69 6e 70 75 74 | 7b 5c 63 40 6c 6f 72 40 |}{\input|{\c@lor@|
|00003760| 6e 61 6d 65 66 69 6c 65 | 7d 7d 0a 25 20 20 20 20 |namefile|}}.% |
|00003770| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00003780| 25 0a 25 20 5c 73 65 63 | 74 69 6f 6e 7b 44 65 66 |%.% \sec|tion{Def|
|00003790| 61 75 6c 74 20 43 6f 6c | 6f 75 72 7d 0a 25 0a 25 |ault Col|our}.%.%|
|000037a0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 5c | \begin{|macro}{\|
|000037b0| 6e 6f 72 6d 61 6c 63 6f | 6c 6f 72 7d 0a 25 20 45 |normalco|lor}.% E|
|000037c0| 61 72 6c 79 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 |arly ver|sions of|
|000037d0| 20 74 68 69 73 20 70 61 | 63 6b 61 67 65 20 72 65 | this pa|ckage re|
|000037e0| 64 65 66 69 6e 65 64 20 | 7c 5c 72 65 73 65 74 40 |defined ||\reset@|
|000037f0| 66 6f 6e 74 7c 20 74 6f | 20 72 65 73 65 74 20 74 |font| to| reset t|
|00003800| 68 65 0a 25 20 63 6f 6c | 6f 72 20 61 73 20 77 65 |he.% col|or as we|
|00003810| 6c 6c 2e 20 43 75 72 72 | 65 6e 74 20 76 65 72 73 |ll. Curr|ent vers|
|00003820| 69 6f 6e 73 20 64 6f 20 | 6e 6f 74 20 64 6f 20 74 |ions do |not do t|
|00003830| 68 69 73 20 28 74 68 65 | 72 65 20 61 72 65 20 74 |his (the|re are t|
|00003840| 6f 6f 20 6d 61 6e 79 0a | 25 20 7c 5c 72 65 73 65 |oo many.|% |\rese|
|00003850| 74 40 66 6f 6e 74 7c 20 | 63 6f 6d 6d 61 6e 64 73 |t@font| |commands|
|00003860| 20 68 69 64 64 65 6e 20 | 69 6e 20 73 74 72 61 6e | hidden |in stran|
|00003870| 67 65 20 70 6c 61 63 65 | 73 29 20 61 6e 64 20 73 |ge place|s) and s|
|00003880| 6f 20 64 65 66 69 6e 65 | 73 20 61 0a 25 20 73 65 |o define|s a.% se|
|00003890| 70 61 72 61 74 65 20 63 | 6f 6d 6d 61 6e 64 2c 20 |parate c|ommand, |
|000038a0| 7c 5c 6e 6f 72 6d 61 6c | 63 6f 6c 6f 72 7c 20 74 ||\normal|color| t|
|000038b0| 6f 20 72 65 73 65 74 20 | 74 68 65 20 63 6f 6c 6f |o reset |the colo|
|000038c0| 75 72 20 74 6f 20 74 68 | 65 20 63 6f 6c 6f 75 72 |ur to th|e colour|
|000038d0| 20 69 6e 0a 25 20 65 66 | 66 65 63 74 20 61 74 20 | in.% ef|fect at |
|000038e0| 74 68 65 20 73 74 61 72 | 74 20 6f 66 20 74 68 65 |the star|t of the|
|000038f0| 20 64 6f 63 75 6d 65 6e | 74 2e 0a 25 0a 25 20 7c | documen|t..%.% ||
|00003900| 5c 6e 6f 72 6d 61 6c 63 | 6f 6c 6f 72 7c 20 69 73 |\normalc|olor| is|
|00003910| 20 64 65 66 69 6e 65 64 | 20 28 74 6f 20 7c 5c 72 | defined| (to |\r|
|00003920| 65 6c 61 78 7c 29 20 69 | 6e 20 74 68 65 20 5c 4c |elax|) i|n the \L|
|00003930| 61 54 65 58 5c 20 6b 65 | 72 6e 65 6c 2c 20 73 6f |aTeX\ ke|rnel, so|
|00003940| 20 69 74 0a 25 20 69 73 | 20 73 61 66 65 20 74 6f | it.% is| safe to|
|00003950| 20 75 73 65 20 74 68 69 | 73 20 69 6e 20 6d 61 63 | use thi|s in mac|
|00003960| 72 6f 73 20 74 68 61 74 | 20 6d 61 79 20 70 6f 73 |ros that| may pos|
|00003970| 73 69 62 6c 79 20 62 65 | 20 75 73 65 64 20 69 6e |sibly be| used in|
|00003980| 0a 25 20 63 6f 6e 6a 75 | 6e 63 74 69 6f 6e 20 77 |.% conju|nction w|
|00003990| 69 74 68 20 63 6f 6c 6f | 75 72 2e 20 49 74 20 77 |ith colo|ur. It w|
|000039a0| 69 6c 6c 20 68 61 76 65 | 20 6e 6f 20 65 66 66 65 |ill have| no effe|
|000039b0| 63 74 20 75 6e 74 69 6c | 20 74 68 65 20 7c 63 6f |ct until| the |co|
|000039c0| 6c 6f 72 7c 0a 25 20 70 | 61 63 6b 61 67 65 20 69 |lor|.% p|ackage i|
|000039d0| 73 20 61 6c 73 6f 20 6c | 6f 61 64 65 64 2e 0a 25 |s also l|oaded..%|
|000039e0| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 32 62 7d | \change|s{v0.2b}|
|000039f0| 7b 31 39 39 34 2f 30 34 | 2f 31 38 7d 0a 25 20 20 |{1994/04|/18}.% |
|00003a00| 20 20 20 7b 4f 6e 6c 79 | 20 72 65 73 65 74 20 74 | {Only| reset t|
|00003a10| 68 65 20 63 6f 6c 6f 75 | 72 20 77 69 74 68 20 5c |he colou|r with \|
|00003a20| 63 6d 64 7b 5c 72 65 73 | 65 74 40 66 6f 6e 74 7d |cmd{\res|et@font}|
|00003a30| 20 6e 6f 74 20 0a 25 20 | 20 20 20 20 20 5c 63 6d | not .% | \cm|
|00003a40| 64 7b 5c 6e 6f 72 6d 61 | 6c 66 6f 6e 74 7d 7d 0a |d{\norma|lfont}}.|
|00003a50| 25 20 5c 63 68 61 6e 67 | 65 73 7b 76 30 2e 32 64 |% \chang|es{v0.2d|
|00003a60| 7d 7b 31 39 39 34 2f 30 | 35 2f 31 33 7d 0a 25 20 |}{1994/0|5/13}.% |
|00003a70| 20 20 20 20 7b 53 74 6f | 70 20 63 68 61 6e 67 69 | {Sto|p changi|
|00003a80| 6e 67 20 5c 63 73 7b 72 | 65 73 65 74 40 66 6f 6e |ng \cs{r|eset@fon|
|00003a90| 74 7d 2e 20 55 73 65 20 | 74 68 65 20 6e 65 77 20 |t}. Use |the new |
|00003aa0| 5c 63 73 7b 6e 6f 72 6d | 61 6c 66 6f 6e 74 7d 0a |\cs{norm|alfont}.|
|00003ab0| 25 20 20 20 20 20 69 6e | 73 74 65 61 64 2e 7d 0a |% in|stead.}.|
|00003ac0| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|00003ad0| 6f 63 6f 64 65 7d 0a 5c | 64 65 66 5c 6e 6f 72 6d |ocode}.\|def\norm|
|00003ae0| 61 6c 63 6f 6c 6f 72 7b | 5c 6c 65 74 5c 63 75 72 |alcolor{|\let\cur|
|00003af0| 72 65 6e 74 40 63 6f 6c | 6f 72 5c 64 65 66 61 75 |rent@col|or\defau|
|00003b00| 6c 74 40 63 6f 6c 6f 72 | 5c 73 65 74 40 63 6f 6c |lt@color|\set@col|
|00003b10| 6f 72 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |or}.% | \end{ma|
|00003b20| 63 72 6f 63 6f 64 65 7d | 0a 25 20 5c 65 6e 64 7b |crocode}|.% \end{|
|00003b30| 6d 61 63 72 6f 7d 0a 25 | 0a 25 20 20 5c 62 65 67 |macro}.%|.% \beg|
|00003b40| 69 6e 7b 6d 61 63 72 6f | 7d 7b 5c 64 65 66 61 75 |in{macro|}{\defau|
|00003b50| 6c 74 40 63 6f 6c 6f 72 | 7d 0a 25 20 49 6e 74 65 |lt@color|}.% Inte|
|00003b60| 72 6e 61 6c 20 6d 61 63 | 72 6f 20 74 6f 20 73 74 |rnal mac|ro to st|
|00003b70| 6f 72 65 20 74 68 65 20 | 60 64 65 66 61 75 6c 74 |ore the |`default|
|00003b80| 27 20 63 6f 6c 6f 75 72 | 20 75 73 65 64 20 62 79 |' colour| used by|
|00003b90| 20 7c 5c 6e 6f 72 6d 61 | 6c 63 6f 6c 6f 72 7c 2e | |\norma|lcolor|.|
|00003ba0| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00003bb0| 72 6f 63 6f 64 65 7d 0a | 5c 41 74 42 65 67 69 6e |rocode}.|\AtBegin|
|00003bc0| 44 6f 63 75 6d 65 6e 74 | 7b 5c 6c 65 74 5c 64 65 |Document|{\let\de|
|00003bd0| 66 61 75 6c 74 40 63 6f | 6c 6f 72 5c 63 75 72 72 |fault@co|lor\curr|
|00003be0| 65 6e 74 40 63 6f 6c 6f | 72 7d 0a 25 20 20 20 20 |ent@colo|r}.% |
|00003bf0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00003c00| 25 20 5c 65 6e 64 7b 6d | 61 63 72 6f 7d 0a 25 0a |% \end{m|acro}.%.|
|00003c10| 25 20 7c 5c 63 75 72 72 | 65 6e 74 40 63 6f 6c 6f |% |\curr|ent@colo|
|00003c20| 72 7c 20 63 6f 6e 74 61 | 69 6e 73 20 61 6e 20 69 |r| conta|ins an i|
|00003c30| 6e 74 65 72 6e 61 6c 20 | 72 65 70 72 65 73 65 6e |nternal |represen|
|00003c40| 74 61 74 69 6f 6e 20 6f | 66 20 74 68 65 20 63 6f |tation o|f the co|
|00003c50| 6c 6f 75 72 0a 25 20 61 | 74 20 74 68 69 73 20 70 |lour.% a|t this p|
|00003c60| 6f 69 6e 74 20 69 6e 20 | 74 68 65 20 64 6f 63 75 |oint in |the docu|
|00003c70| 6d 65 6e 74 2e 20 28 54 | 68 69 73 20 63 61 6e 20 |ment. (T|his can |
|00003c80| 6f 6e 6c 79 20 62 65 20 | 61 6e 20 61 70 70 72 6f |only be |an appro|
|00003c90| 78 69 6d 61 74 69 6f 6e | 20 74 6f 0a 25 20 74 68 |ximation| to.% th|
|00003ca0| 65 20 74 72 75 74 68 20 | 61 73 20 74 68 65 20 60 |e truth |as the `|
|00003cb0| 6d 61 63 72 6f 20 6c 61 | 79 65 72 27 20 6f 66 20 |macro la|yer' of |
|00003cc0| 5c 54 65 58 5c 20 64 6f | 65 73 20 6e 6f 74 20 6b |\TeX\ do|es not k|
|00003cd0| 6e 6f 77 20 77 68 65 72 | 65 20 74 68 65 20 6f 75 |now wher|e the ou|
|00003ce0| 74 70 75 74 0a 25 20 72 | 6f 75 74 69 6e 65 20 69 |tput.% r|outine i|
|00003cf0| 73 20 67 6f 69 6e 67 20 | 74 6f 20 72 65 2d 69 6e |s going |to re-in|
|00003d00| 73 65 72 74 20 66 6c 6f | 61 74 73 2e 20 54 68 69 |sert flo|ats. Thi|
|00003d10| 73 20 69 73 20 77 68 79 | 20 64 72 69 76 65 72 73 |s is why| drivers|
|00003d20| 20 6d 75 73 74 0a 25 20 | 6d 61 69 6e 74 61 69 6e | must.% |maintain|
|00003d30| 20 74 68 65 69 72 20 6f | 77 6e 20 73 74 61 63 6b | their o|wn stack|
|00003d40| 20 6f 66 20 63 6f 6c 6f | 75 72 73 20 69 6e 20 6f | of colo|urs in o|
|00003d50| 72 64 65 72 20 74 6f 20 | 66 75 6c 6c 79 20 73 75 |rder to |fully su|
|00003d60| 70 70 6f 72 74 20 74 68 | 65 73 65 0a 25 20 63 6f |pport th|ese.% co|
|00003d70| 6d 6d 61 6e 64 73 2e 20 | 0a 25 0a 25 20 46 6f 72 |mmands. |.%.% For|
|00003d80| 20 64 76 69 70 73 2c 20 | 74 68 65 20 7c 5c 63 75 | dvips, |the |\cu|
|00003d90| 72 72 65 6e 74 40 63 6f | 6c 6f 72 7c 20 69 74 20 |rrent@co|lor| it |
|00003da0| 69 73 20 73 6f 6d 65 74 | 68 69 6e 67 20 6c 69 6b |is somet|hing lik|
|00003db0| 65 20 60 7c 42 6c 61 63 | 6b 7c 27 20 6f 72 0a 25 |e `|Blac|k|' or.%|
|00003dc0| 20 60 7c 72 67 62 20 30 | 20 31 20 30 7c 27 2c 20 | `|rgb 0| 1 0|', |
|00003dd0| 62 75 74 20 6f 74 68 65 | 72 20 70 61 63 6b 61 67 |but othe|r packag|
|00003de0| 65 73 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 72 65 |es shoul|d not re|
|00003df0| 6c 79 20 6f 6e 20 61 6e | 79 20 70 61 72 74 69 63 |ly on an|y partic|
|00003e00| 75 6c 61 72 0a 25 20 66 | 6f 72 6d 61 74 20 66 6f |ular.% f|ormat fo|
|00003e10| 72 20 74 68 69 73 20 6d | 61 63 72 6f 2e 0a 25 0a |r this m|acro..%.|
|00003e20| 25 20 54 68 65 20 64 72 | 69 76 65 72 20 66 69 6c |% The dr|iver fil|
|00003e30| 65 20 5c 65 6d 70 68 7b | 6d 75 73 74 7d 20 69 6e |e \emph{|must} in|
|00003e40| 69 74 69 61 6c 69 73 65 | 20 7c 5c 63 75 72 72 65 |itialise| |\curre|
|00003e50| 6e 74 40 63 6f 6c 6f 72 | 7c 20 74 6f 20 61 0a 25 |nt@color|| to a.%|
|00003e60| 20 73 70 65 63 69 66 69 | 63 61 74 69 6f 6e 20 66 | specifi|cation f|
|00003e70| 6f 72 20 42 6c 61 63 6b | 2e 20 54 68 69 73 20 69 |or Black|. This i|
|00003e80| 6e 69 74 69 61 6c 69 73 | 61 74 69 6f 6e 20 63 61 |nitialis|ation ca|
|00003e90| 6e 20 6e 6f 74 20 6f 63 | 63 75 72 20 68 65 72 65 |n not oc|cur here|
|00003ea0| 2c 20 61 73 0a 25 20 74 | 68 65 20 70 6f 73 73 69 |, as.% t|he possi|
|00003eb0| 62 6c 65 20 63 6f 6c 6f | 75 72 20 6d 6f 64 65 6c |ble colo|ur model|
|00003ec0| 73 20 28 61 6e 64 20 74 | 68 75 73 20 74 68 65 20 |s (and t|hus the |
|00003ed0| 73 79 6e 74 61 78 20 66 | 6f 72 20 60 62 6c 61 63 |syntax f|or `blac|
|00003ee0| 6b 27 29 0a 25 20 61 72 | 65 20 6e 6f 74 20 6b 6e |k').% ar|e not kn|
|00003ef0| 6f 77 6e 20 61 74 20 74 | 68 69 73 20 70 6f 69 6e |own at t|his poin|
|00003f00| 74 2e 0a 25 0a 25 20 5c | 73 65 63 74 69 6f 6e 7b |t..%.% \|section{|
|00003f10| 48 69 67 68 65 72 20 4c | 65 76 65 6c 20 43 6f 6d |Higher L|evel Com|
|00003f20| 6d 61 6e 64 73 7d 0a 25 | 20 0a 25 20 57 69 74 68 |mands}.%| .% With|
|00003f30| 20 74 68 65 20 62 61 73 | 69 63 20 63 6f 6c 6f 75 | the bas|ic colou|
|00003f40| 72 20 70 72 69 6d 69 74 | 69 76 65 73 20 73 70 65 |r primit|ives spe|
|00003f50| 63 69 66 69 65 64 20 61 | 62 6f 76 65 20 77 65 20 |cified a|bove we |
|00003f60| 6d 61 79 20 64 65 66 69 | 6e 65 20 61 20 66 65 77 |may defi|ne a few|
|00003f70| 0a 25 20 68 69 67 65 72 | 20 6c 65 76 65 6c 20 63 |.% higer| level c|
|00003f80| 6f 6d 6d 61 6e 64 73 20 | 66 6f 72 20 63 6f 6c 6f |ommands |for colo|
|00003f90| 75 72 65 64 20 62 6f 78 | 65 73 20 65 74 63 2e 20 |ured box|es etc. |
|00003fa0| 54 68 69 73 20 69 73 20 | 73 74 69 6c 6c 20 71 75 |This is |still qu|
|00003fb0| 69 74 65 20 61 20 6c 6f | 77 0a 25 20 6c 65 76 65 |ite a lo|w.% leve|
|00003fc0| 6c 20 61 6e 64 20 70 72 | 65 73 75 6d 61 62 6c 79 |l and pr|esumably|
|00003fd0| 20 70 61 63 6b 61 67 65 | 73 20 61 6e 64 20 63 6c | package|s and cl|
|00003fe0| 61 73 73 65 73 20 6d 61 | 6b 69 6e 67 20 75 73 65 |asses ma|king use|
|00003ff0| 20 6f 66 20 63 6f 6c 6f | 75 72 20 77 69 6c 6c 0a | of colo|ur will.|
|00004000| 25 20 64 65 66 69 6e 65 | 20 6d 6f 72 65 20 61 70 |% define| more ap|
|00004010| 70 72 6f 70 72 69 61 74 | 65 20 64 6f 63 75 6d 65 |propriat|e docume|
|00004020| 6e 74 2d 6c 65 76 65 6c | 20 63 6f 6d 6d 61 6e 64 |nt-level| command|
|00004030| 73 2e 0a 25 0a 25 20 5c | 73 75 62 73 65 63 74 69 |s..%.% \|subsecti|
|00004040| 6f 6e 7b 43 6f 6c 6f 75 | 72 20 42 6c 6f 63 6b 7d |on{Colou|r Block}|
|00004050| 0a 25 0a 25 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |.%.% \be|gin{macr|
|00004060| 6f 7d 7b 5c 63 6f 6c 6f | 72 40 62 6c 6f 63 6b 7d |o}{\colo|r@block}|
|00004070| 0a 25 20 7c 5c 63 6f 6c | 6f 72 40 62 6c 6f 63 6b |.% |\col|or@block|
|00004080| 7b 7c 5c 65 6d 70 68 7b | 77 69 64 74 68 7d 7c 7d |{|\emph{|width}|}|
|00004090| 7b 7c 5c 65 6d 70 68 7b | 68 65 69 67 68 74 7d 7c |{|\emph{|height}||
|000040a0| 7d 7b 7c 5c 65 6d 70 68 | 7b 64 65 70 74 68 7d 7c |}{|\emph|{depth}||
|000040b0| 7d 7c 5c 5c 0a 25 20 53 | 68 6f 75 6c 64 20 74 61 |}|\\.% S|hould ta|
|000040c0| 6b 65 20 75 70 20 6e 6f | 20 73 70 61 63 65 20 66 |ke up no| space f|
|000040d0| 6f 72 20 5c 54 65 58 2c | 20 62 75 74 20 70 72 6f |or \TeX,| but pro|
|000040e0| 64 75 63 65 20 61 20 62 | 6c 6f 63 6b 20 69 6e 20 |duce a b|lock in |
|000040f0| 74 68 65 20 63 75 72 72 | 65 6e 74 0a 25 20 63 6f |the curr|ent.% co|
|00004100| 6c 6f 75 72 20 6f 66 20 | 74 68 65 20 73 70 65 63 |lour of |the spec|
|00004110| 69 66 69 65 64 20 73 69 | 7a 65 2e 20 49 74 20 69 |ified si|ze. It i|
|00004120| 73 20 6d 61 69 6e 6c 79 | 20 75 73 65 64 20 66 6f |s mainly| used fo|
|00004130| 72 20 70 72 6f 64 75 63 | 69 6e 67 20 62 6f 78 0a |r produc|ing box.|
|00004140| 25 20 62 61 63 6b 67 72 | 6f 75 6e 64 73 2e 20 0a |% backgr|ounds. .|
|00004150| 25 0a 25 20 54 68 65 20 | 64 65 66 69 6e 69 74 69 |%.% The |definiti|
|00004160| 6f 6e 20 68 65 72 65 20 | 77 6f 72 6b 73 20 62 79 |on here |works by|
|00004170| 20 73 65 6c 65 63 74 69 | 6e 67 20 61 20 63 6f 6c | selecti|ng a col|
|00004180| 6f 75 72 2c 20 61 6e 64 | 20 74 68 65 6e 20 64 72 |our, and| then dr|
|00004190| 61 77 69 6e 67 20 61 0a | 25 20 5c 54 65 58 5c 20 |awing a.|% \TeX\ |
|000041a0| 72 75 6c 65 20 28 75 6e | 6c 65 73 73 20 7c 5c 69 |rule (un|less |\i|
|000041b0| 66 63 6f 6c 6f 72 73 40 | 66 61 6c 73 65 7c 29 2e |fcolors@|false|).|
|000041c0| 20 54 68 69 73 20 61 6c | 6c 6f 77 73 20 74 68 65 | This al|lows the|
|000041d0| 20 60 64 72 69 76 65 72 | 0a 25 20 69 6e 64 65 70 | `driver|.% indep|
|000041e0| 65 6e 64 65 6e 74 27 20 | 63 6f 6c 6f 75 72 20 73 |endent' |colour s|
|000041f0| 70 65 63 69 61 6c 73 20 | 74 6f 20 62 65 20 75 73 |pecials |to be us|
|00004200| 65 64 2e 20 48 6f 77 65 | 76 65 72 20 69 74 20 69 |ed. Howe|ver it i|
|00004210| 73 20 64 65 66 69 6e 65 | 64 20 75 73 69 6e 67 0a |s define|d using.|
|00004220| 25 20 7c 5c 70 72 6f 76 | 69 64 65 63 6f 6d 6d 61 |% |\prov|idecomma|
|00004230| 6e 64 7c 2c 20 73 6f 20 | 74 68 61 74 20 74 68 69 |nd|, so |that thi|
|00004240| 73 20 66 69 6c 65 20 77 | 69 6c 6c 20 6e 6f 74 20 |s file w|ill not |
|00004250| 6f 76 65 72 2d 77 72 69 | 74 65 20 61 6e 79 20 6f |over-wri|te any o|
|00004260| 74 68 65 72 0a 25 20 64 | 65 66 69 6e 69 74 69 6f |ther.% d|efinitio|
|00004270| 6e 20 6f 66 20 74 68 69 | 73 20 63 6f 6d 6d 61 6e |n of thi|s comman|
|00004280| 64 2e 20 41 20 67 72 61 | 70 68 69 63 73 20 70 61 |d. A gra|phics pa|
|00004290| 63 6b 61 67 65 20 6d 61 | 79 20 77 61 6e 74 20 74 |ckage ma|y want t|
|000042a0| 6f 20 64 65 66 69 6e 65 | 20 69 74 0a 25 20 75 73 |o define| it.% us|
|000042b0| 69 6e 67 20 61 20 73 70 | 65 63 69 61 6c 20 74 6f |ing a sp|ecial to|
|000042c0| 20 70 72 6f 64 75 63 65 | 20 28 66 6f 72 20 65 78 | produce| (for ex|
|000042d0| 61 6d 70 6c 65 29 20 61 | 20 50 6f 73 74 53 63 72 |ample) a| PostScr|
|000042e0| 69 70 74 20 6c 69 6e 65 | 2e 20 50 72 6f 64 75 63 |ipt line|. Produc|
|000042f0| 69 6e 67 0a 25 20 74 68 | 65 20 6c 69 6e 65 20 69 |ing.% th|e line i|
|00004300| 6e 20 74 68 65 20 7c 5c | 73 70 65 63 69 61 6c 7c |n the |\|special||
|00004310| 20 68 61 73 20 74 68 65 | 20 61 64 76 61 6e 74 61 | has the| advanta|
|00004320| 67 65 20 74 68 61 74 20 | 6f 6e 20 61 20 70 72 65 |ge that |on a pre|
|00004330| 76 69 65 77 20 74 68 61 | 74 0a 25 20 64 6f 65 73 |view tha|t.% does|
|00004340| 20 6e 6f 74 20 75 6e 64 | 65 72 73 74 61 6e 64 20 | not und|erstand |
|00004350| 7c 5c 73 70 65 63 69 61 | 6c 7c 73 2c 20 74 68 65 ||\specia|l|s, the|
|00004360| 20 6c 69 6e 65 20 69 73 | 20 61 75 74 6f 6d 61 74 | line is| automat|
|00004370| 69 63 61 6c 6c 79 20 6f | 6d 69 74 65 64 2c 0a 25 |ically o|mited,.%|
|00004380| 20 77 69 74 68 6f 75 74 | 20 6e 65 65 64 69 6e 67 | without| needing|
|00004390| 20 74 6f 20 6d 6f 64 69 | 66 79 20 74 68 65 20 73 | to modi|fy the s|
|000043a0| 6f 75 72 63 65 20 6f 66 | 20 74 68 65 20 64 6f 63 |ource of| the doc|
|000043b0| 75 6d 65 6e 74 20 28 66 | 6f 72 20 69 6e 73 74 61 |ument (f|or insta|
|000043c0| 6e 63 65 20 62 79 0a 25 | 20 61 64 64 69 6e 67 20 |nce by.%| adding |
|000043d0| 74 68 65 20 7c 6d 6f 6e | 6f 63 68 72 6f 6d 65 7c |the |mon|ochrome||
|000043e0| 20 6f 70 74 69 6f 6e 29 | 2e 0a 25 0a 25 20 20 20 | option)|..%.% |
|000043f0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00004400| 65 7d 0a 5c 64 65 66 5c | 63 6f 6c 6f 72 40 62 6c |e}.\def\|color@bl|
|00004410| 6f 63 6b 23 31 23 32 23 | 33 7b 25 0a 20 20 7b 5c |ock#1#2#|3{%. {\|
|00004420| 73 65 74 40 63 6f 6c 6f | 72 5c 72 6c 61 70 7b 5c |set@colo|r\rlap{\|
|00004430| 69 66 63 6f 6c 6f 72 73 | 40 5c 76 72 75 6c 65 5c |ifcolors|@\vrule\|
|00004440| 40 77 69 64 74 68 23 31 | 5c 40 68 65 69 67 68 74 |@width#1|\@height|
|00004450| 23 32 5c 40 64 65 70 74 | 68 23 33 5c 66 69 7d 7d |#2\@dept|h#3\fi}}|
|00004460| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|00004470| 6f 63 6f 64 65 7d 0a 25 | 20 5c 65 6e 64 7b 6d 61 |ocode}.%| \end{ma|
|00004480| 63 72 6f 7d 0a 25 0a 25 | 20 5c 73 75 62 73 65 63 |cro}.%.%| \subsec|
|00004490| 74 69 6f 6e 7b 43 6f 6c | 6f 75 72 65 64 20 42 6f |tion{Col|oured Bo|
|000044a0| 78 65 73 7d 0a 25 0a 25 | 20 5c 62 65 67 69 6e 7b |xes}.%.%| \begin{|
|000044b0| 6d 61 63 72 6f 7d 7b 5c | 63 6f 6c 6f 72 62 6f 78 |macro}{\|colorbox|
|000044c0| 7d 0a 25 20 7c 5c 63 6f | 6c 6f 72 62 6f 78 7c 20 |}.% |\co|lorbox| |
|000044d0| 74 61 6b 65 73 20 74 68 | 65 20 73 61 6d 65 20 61 |takes th|e same a|
|000044e0| 72 67 75 6d 65 6e 74 20 | 66 6f 72 6d 73 20 61 73 |rgument |forms as|
|000044f0| 20 7c 5c 74 65 78 74 63 | 6f 6c 6f 72 7c 2c 20 62 | |\textc|olor|, b|
|00004500| 75 74 20 74 68 65 0a 25 | 20 63 6f 6c 6f 75 72 20 |ut the.%| colour |
|00004510| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 20 5c 65 |specifie|s the \e|
|00004520| 6d 70 68 7b 62 61 63 6b | 67 72 6f 75 6e 64 7d 20 |mph{back|ground} |
|00004530| 63 6f 6c 6f 75 72 20 6f | 66 20 74 68 65 20 62 6f |colour o|f the bo|
|00004540| 78 2e 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 30 |x..% \ch|anges{v0|
|00004550| 2e 33 62 7d 7b 31 39 39 | 34 2f 30 39 2f 31 34 7d |.3b}{199|4/09/14}|
|00004560| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00004570| 20 20 7b 4e 65 77 20 69 | 6d 70 6c 65 6d 65 6e 74 | {New i|mplement|
|00004580| 61 74 69 6f 6e 7d 0a 25 | 20 5c 62 65 67 69 6e 7b |ation}.%| \begin{|
|00004590| 6d 61 63 72 6f 7d 7b 5c | 63 6f 6c 6f 72 40 62 6f |macro}{\|color@bo|
|000045a0| 78 7d 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |x}.% |\begin{m|
|000045b0| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 5c 63 |acrocode|}.\def\c|
|000045c0| 6f 6c 6f 72 62 6f 78 23 | 31 23 7b 5c 63 6f 6c 6f |olorbox#|1#{\colo|
|000045d0| 72 40 62 6f 78 7b 23 31 | 7d 7d 0a 25 20 20 20 20 |r@box{#1|}}.% |
|000045e0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|000045f0| 25 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |%.% \|begin{ma|
|00004600| 63 72 6f 63 6f 64 65 7d | 0a 5c 64 65 66 5c 63 6f |crocode}|.\def\co|
|00004610| 6c 6f 72 40 62 6f 78 23 | 31 23 32 7b 5c 63 6f 6c |lor@box#|1#2{\col|
|00004620| 6f 72 40 62 40 78 5c 6c | 65 61 76 65 76 6d 6f 64 |or@b@x\l|eavevmod|
|00004630| 65 7b 5c 63 6f 6c 6f 72 | 23 31 7b 23 32 7d 7d 7d |e{\color|#1{#2}}}|
|00004640| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|00004650| 63 6f 64 65 7d 0a 25 20 | 5c 65 6e 64 7b 6d 61 63 |code}.% |\end{mac|
|00004660| 72 6f 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |ro}.% \e|nd{macro|
|00004670| 7d 0a 25 0a 25 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |}.%.% \b|egin{mac|
|00004680| 72 6f 7d 7b 5c 66 63 6f | 6c 6f 72 62 6f 78 7d 0a |ro}{\fco|lorbox}.|
|00004690| 25 20 7c 5c 66 63 6f 6c | 6f 72 62 6f 78 7c 20 68 |% |\fcol|orbox| h|
|000046a0| 61 73 20 61 6e 20 65 78 | 74 72 61 20 5c 65 6d 70 |as an ex|tra \emp|
|000046b0| 68 7b 63 6f 6c 6f 75 72 | 2d 73 70 65 63 7d 20 61 |h{colour|-spec} a|
|000046c0| 72 67 75 6d 65 6e 74 2c | 20 61 6e 64 20 70 75 74 |rgument,| and put|
|000046d0| 73 20 61 0a 25 20 66 72 | 61 6d 65 20 6f 66 20 74 |s a.% fr|ame of t|
|000046e0| 68 65 20 66 69 72 73 74 | 20 63 6f 6c 6f 75 72 20 |he first| colour |
|000046f0| 61 72 6f 75 6e 64 20 61 | 20 62 6f 78 20 77 69 74 |around a| box wit|
|00004700| 68 20 61 20 62 61 63 6b | 67 72 6f 75 6e 64 20 73 |h a back|ground s|
|00004710| 70 65 63 69 66 69 65 64 | 20 62 79 0a 25 20 74 68 |pecified| by.% th|
|00004720| 65 20 73 65 63 6f 6e 64 | 20 63 6f 6c 6f 75 72 2e |e second| colour.|
|00004730| 20 49 66 20 61 6e 20 6f | 70 74 69 6f 6e 61 6c 20 | If an o|ptional |
|00004740| 61 72 67 75 6d 65 6e 74 | 20 69 73 20 67 69 76 65 |argument| is give|
|00004750| 6e 2c 20 69 74 20 73 70 | 65 63 69 66 69 65 73 20 |n, it sp|ecifies |
|00004760| 74 68 65 0a 25 20 63 6f | 6c 6f 75 72 20 6d 6f 64 |the.% co|lour mod|
|00004770| 65 6c 20 66 6f 72 20 62 | 6f 74 68 20 63 6f 6c 6f |el for b|oth colo|
|00004780| 75 72 73 2e 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |urs..% \|changes{|
|00004790| 76 30 2e 33 62 7d 7b 31 | 39 39 34 2f 30 39 2f 31 |v0.3b}{1|994/09/1|
|000047a0| 34 7d 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |4}.% | |
|000047b0| 20 20 20 20 7b 4e 65 77 | 20 69 6d 70 6c 65 6d 65 | {New| impleme|
|000047c0| 6e 74 61 74 69 6f 6e 7d | 0a 25 20 5c 62 65 67 69 |ntation}|.% \begi|
|000047d0| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 66 63 6f 6c 6f 72 |n{macro}|{\fcolor|
|000047e0| 62 6f 78 7d 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |box}.% | \begin|
|000047f0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|00004800| 5c 66 63 6f 6c 6f 72 62 | 6f 78 23 31 23 7b 5c 63 |\fcolorb|ox#1#{\c|
|00004810| 6f 6c 6f 72 40 66 62 6f | 78 7b 23 31 7d 7d 0a 25 |olor@fbo|x{#1}}.%|
|00004820| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00004830| 64 65 7d 0a 25 0a 25 20 | 20 20 20 5c 62 65 67 69 |de}.%.% | \begi|
|00004840| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00004850| 66 5c 63 6f 6c 6f 72 40 | 66 62 6f 78 23 31 23 32 |f\color@|fbox#1#2|
|00004860| 23 33 7b 25 0a 20 20 5c | 63 6f 6c 6f 72 40 62 40 |#3{%. \|color@b@|
|00004870| 78 7b 5c 66 62 6f 78 73 | 65 70 5c 7a 40 5c 63 6f |x{\fboxs|ep\z@\co|
|00004880| 6c 6f 72 23 31 7b 23 32 | 7d 5c 66 62 6f 78 7d 7b |lor#1{#2|}\fbox}{|
|00004890| 5c 63 6f 6c 6f 72 23 31 | 7b 23 33 7d 7d 7d 0a 25 |\color#1|{#3}}}.%|
|000048a0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000048b0| 64 65 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |de}.% \e|nd{macro|
|000048c0| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|000048d0| 25 0a 0a 25 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |%..% \b|egin{mac|
|000048e0| 72 6f 7d 7b 5c 63 6f 6c | 6f 72 40 62 40 78 7d 0a |ro}{\col|or@b@x}.|
|000048f0| 25 20 49 6e 74 65 72 6e | 61 6c 20 6d 61 63 72 6f |% Intern|al macro|
|00004900| 20 66 6f 72 20 7c 5c 63 | 6f 6c 6f 72 62 6f 78 7c | for |\c|olorbox||
|00004910| 20 61 6e 64 20 7c 5c 66 | 63 6f 6c 6f 72 62 6f 78 | and |\f|colorbox|
|00004920| 7c 2e 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 30 ||..% \ch|anges{v0|
|00004930| 2e 33 62 7d 7b 31 39 39 | 34 2f 30 39 2f 31 34 7d |.3b}{199|4/09/14}|
|00004940| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00004950| 20 20 7b 4d 61 63 72 6f | 20 61 64 64 65 64 2e 7d | {Macro| added.}|
|00004960| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00004970| 72 6f 63 6f 64 65 7d 0a | 5c 6c 6f 6e 67 5c 64 65 |rocode}.|\long\de|
|00004980| 66 5c 63 6f 6c 6f 72 40 | 62 40 78 23 31 23 32 23 |f\color@|b@x#1#2#|
|00004990| 33 7b 25 0a 20 5c 73 65 | 74 62 6f 78 5c 7a 40 5c |3{%. \se|tbox\z@\|
|000049a0| 68 62 6f 78 7b 5c 6b 65 | 72 6e 5c 66 62 6f 78 73 |hbox{\ke|rn\fboxs|
|000049b0| 65 70 7b 5c 73 65 74 40 | 63 6f 6c 6f 72 23 33 7d |ep{\set@|color#3}|
|000049c0| 5c 6b 65 72 6e 5c 66 62 | 6f 78 73 65 70 7d 25 0a |\kern\fb|oxsep}%.|
|000049d0| 20 5c 64 69 6d 65 6e 40 | 5c 68 74 5c 7a 40 5c 61 | \dimen@|\ht\z@\a|
|000049e0| 64 76 61 6e 63 65 5c 64 | 69 6d 65 6e 40 5c 66 62 |dvance\d|imen@\fb|
|000049f0| 6f 78 73 65 70 5c 68 74 | 5c 7a 40 5c 64 69 6d 65 |oxsep\ht|\z@\dime|
|00004a00| 6e 40 0a 20 5c 64 69 6d | 65 6e 40 5c 64 70 5c 7a |n@. \dim|en@\dp\z|
|00004a10| 40 5c 61 64 76 61 6e 63 | 65 5c 64 69 6d 65 6e 40 |@\advanc|e\dimen@|
|00004a20| 5c 66 62 6f 78 73 65 70 | 5c 64 70 5c 7a 40 5c 64 |\fboxsep|\dp\z@\d|
|00004a30| 69 6d 65 6e 40 0a 20 7b | 23 31 7b 23 32 5c 63 6f |imen@. {|#1{#2\co|
|00004a40| 6c 6f 72 40 62 6c 6f 63 | 6b 7b 5c 77 64 5c 7a 40 |lor@bloc|k{\wd\z@|
|00004a50| 7d 7b 5c 68 74 5c 7a 40 | 7d 7b 5c 64 70 5c 7a 40 |}{\ht\z@|}{\dp\z@|
|00004a60| 7d 25 0a 20 20 20 20 20 | 20 5c 62 6f 78 5c 7a 40 |}%. | \box\z@|
|00004a70| 7d 7d 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |}}}.% | \end{ma|
|00004a80| 63 72 6f 63 6f 64 65 7d | 0a 25 20 20 5c 65 6e 64 |crocode}|.% \end|
|00004a90| 7b 6d 61 63 72 6f 7d 0a | 25 0a 25 0a 25 20 5c 73 |{macro}.|%.%.% \s|
|00004aa0| 65 63 74 69 6f 6e 7b 45 | 78 74 72 61 20 47 72 6f |ection{E|xtra Gro|
|00004ab0| 75 70 73 7d 0a 25 20 54 | 75 72 6e 69 6e 67 20 6f |ups}.% T|urning o|
|00004ac0| 6e 20 65 78 74 72 61 20 | 67 72 6f 75 70 73 20 69 |n extra |groups i|
|00004ad0| 6e 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 5c |n the st|andard \|
|00004ae0| 4c 61 54 65 58 5c 20 63 | 6f 6d 6d 61 6e 64 73 2c |LaTeX\ c|ommands,|
|00004af0| 20 73 6f 20 74 68 61 74 | 0a 25 20 63 6f 6c 6f 75 | so that|.% colou|
|00004b00| 72 20 63 6f 6d 6d 61 6e | 64 73 20 61 72 65 20 73 |r comman|ds are s|
|00004b10| 63 6f 70 65 64 20 63 6f | 72 65 63 74 6c 79 2e 0a |coped co|rectly..|
|00004b20| 25 0a 25 20 4c 69 6b 65 | 20 7c 5c 6e 6f 72 6d 61 |%.% Like| |\norma|
|00004b30| 6c 63 6f 6c 6f 72 7c 2c | 20 74 68 65 20 66 6f 6c |lcolor|,| the fol|
|00004b40| 6c 6f 77 69 6e 67 20 66 | 69 76 65 20 63 6f 6d 6d |lowing f|ive comm|
|00004b50| 61 6e 64 73 20 61 72 65 | 20 64 65 66 69 6e 65 64 |ands are| defined|
|00004b60| 20 69 6e 20 74 68 65 0a | 25 20 6b 65 72 6e 65 6c | in the.|% kernel|
|00004b70| 2c 20 77 69 74 68 20 65 | 6d 70 74 79 20 64 65 66 |, with e|mpty def|
|00004b80| 69 6e 69 74 69 6f 6e 73 | 20 28 7c 5c 72 65 6c 61 |initions| (|\rela|
|00004b90| 78 7c 29 2e 20 54 68 69 | 73 20 6d 65 61 6e 73 20 |x|). Thi|s means |
|00004ba0| 74 68 61 74 20 74 68 65 | 79 20 63 61 6e 0a 25 20 |that the|y can.% |
|00004bb0| 62 65 20 75 73 65 64 20 | 74 6f 20 6d 61 6b 65 20 |be used |to make |
|00004bc0| 6d 61 63 72 6f 73 20 69 | 6e 20 70 61 63 6b 61 67 |macros i|n packag|
|00004bd0| 65 73 20 60 63 6f 6c 6f | 75 72 20 73 61 66 65 27 |es `colo|ur safe'|
|00004be0| 2e 20 54 68 65 20 63 6f | 6d 6d 61 6e 64 73 0a 25 |. The co|mmands.%|
|00004bf0| 20 77 69 6c 6c 20 6e 6f | 74 20 68 61 76 65 20 61 | will no|t have a|
|00004c00| 6e 79 20 65 66 66 65 63 | 74 20 75 6e 6c 65 73 73 |ny effec|t unless|
|00004c10| 20 61 20 75 73 65 72 20 | 61 6c 73 6f 20 75 73 65 | a user |also use|
|00004c20| 73 20 74 68 69 73 20 63 | 6f 6c 6f 75 72 0a 25 20 |s this c|olour.% |
|00004c30| 70 61 63 6b 61 67 65 2c | 20 77 68 65 6e 20 74 68 |package,| when th|
|00004c40| 65 20 60 61 63 74 69 76 | 65 20 64 65 66 69 6e 69 |e `activ|e defini|
|00004c50| 74 69 6f 6e 73 27 20 68 | 65 72 65 20 77 69 6c 6c |tions' h|ere will|
|00004c60| 20 74 61 6b 65 20 65 66 | 66 65 63 74 20 61 6e 64 | take ef|fect and|
|00004c70| 0a 25 20 6b 65 65 70 20 | 63 6f 6c 6f 75 72 20 63 |.% keep |colour c|
|00004c80| 6f 6d 6d 61 6e 64 73 20 | 63 6f 72 72 65 63 74 6c |ommands |correctl|
|00004c90| 79 20 73 63 6f 70 65 64 | 2e 0a 25 0a 25 20 5c 62 |y scoped|..%.% \b|
|00004ca0| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 63 6f 6c |egin{mac|ro}{\col|
|00004cb0| 6f 72 40 73 65 74 67 72 | 6f 75 70 7d 0a 25 20 54 |or@setgr|oup}.% T|
|00004cc0| 68 69 73 20 69 73 20 74 | 6f 20 62 65 20 75 73 65 |his is t|o be use|
|00004cd0| 64 20 69 6e 20 63 6f 6e | 74 65 78 74 73 20 28 65 |d in con|texts (e|
|00004ce0| 67 20 60 6c 72 62 6f 78 | 27 29 20 77 68 65 72 65 |g `lrbox|') where|
|00004cf0| 20 74 65 78 74 20 69 73 | 20 74 6f 20 62 65 0a 25 | text is| to be.%|
|00004d00| 20 73 61 76 65 64 20 61 | 6e 64 20 75 73 65 64 20 | saved a|nd used |
|00004d10| 61 66 74 65 72 20 73 6f | 6d 65 20 6f 74 68 65 72 |after so|me other|
|00004d20| 2c 20 75 6e 6b 6e 6f 77 | 6e 2c 20 74 65 78 74 20 |, unknow|n, text |
|00004d30| 74 68 61 74 20 6d 61 79 | 20 63 6f 6e 74 61 69 6e |that may| contain|
|00004d40| 0a 25 20 63 6f 6c 6f 75 | 72 20 63 6f 6d 6d 61 6e |.% colou|r comman|
|00004d50| 64 73 2e 20 41 20 6d 61 | 74 63 68 69 6e 67 20 7c |ds. A ma|tching ||
|00004d60| 5c 63 6f 6c 6f 72 40 65 | 6e 64 67 72 6f 75 70 7c |\color@e|ndgroup||
|00004d70| 20 73 68 6f 75 6c 64 20 | 62 65 20 75 73 65 64 20 | should |be used |
|00004d80| 61 74 20 74 68 65 0a 25 | 20 65 6e 64 20 6f 66 20 |at the.%| end of |
|00004d90| 74 68 65 20 74 65 78 74 | 2e 0a 25 20 5c 63 68 61 |the text|..% \cha|
|00004da0| 6e 67 65 73 7b 76 30 2e | 32 64 7d 7b 31 39 39 34 |nges{v0.|2d}{1994|
|00004db0| 2f 30 35 2f 31 33 7d 0a | 25 20 20 20 20 20 7b 4d |/05/13}.|% {M|
|00004dc0| 61 63 72 6f 20 61 64 64 | 65 64 7d 0a 25 20 20 20 |acro add|ed}.% |
|00004dd0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00004de0| 65 7d 0a 5c 64 65 66 5c | 63 6f 6c 6f 72 40 73 65 |e}.\def\|color@se|
|00004df0| 74 67 72 6f 75 70 7b 5c | 62 65 67 69 6e 67 72 6f |tgroup{\|begingro|
|00004e00| 75 70 5c 73 65 74 40 63 | 6f 6c 6f 72 7d 0a 25 20 |up\set@c|olor}.% |
|00004e10| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|00004e20| 65 7d 0a 25 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |e}.% \e|nd{macro|
|00004e30| 7d 0a 25 0a 25 20 20 5c | 62 65 67 69 6e 7b 6d 61 |}.%.% \|begin{ma|
|00004e40| 63 72 6f 7d 7b 5c 63 6f | 6c 6f 72 40 62 65 67 69 |cro}{\co|lor@begi|
|00004e50| 6e 67 72 6f 75 70 7d 0a | 25 20 54 68 69 73 20 69 |ngroup}.|% This i|
|00004e60| 73 20 74 6f 20 62 65 20 | 75 73 65 64 20 61 74 20 |s to be |used at |
|00004e70| 74 68 65 20 73 74 61 72 | 74 20 6f 66 20 63 6f 6e |the star|t of con|
|00004e80| 74 65 78 74 73 20 74 68 | 61 74 20 6d 61 79 20 63 |texts th|at may c|
|00004e90| 6f 6e 74 61 69 6e 20 63 | 6f 6c 6f 75 72 0a 25 20 |ontain c|olour.% |
|00004ea0| 63 6f 6d 6d 61 6e 64 73 | 2c 20 62 75 74 20 77 68 |commands|, but wh|
|00004eb0| 65 72 65 20 69 74 20 69 | 73 20 6e 6f 74 20 6e 65 |ere it i|s not ne|
|00004ec0| 63 65 73 73 61 72 79 20 | 74 6f 20 73 61 76 65 20 |cessary |to save |
|00004ed0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 63 6f 6c 6f |the curr|ent colo|
|00004ee0| 75 72 2e 0a 25 20 45 78 | 61 6d 70 6c 65 73 20 6f |ur..% Ex|amples o|
|00004ef0| 66 20 74 68 69 73 20 61 | 72 65 20 69 6e 20 74 68 |f this a|re in th|
|00004f00| 65 20 62 6f 78 20 63 6f | 6d 6d 61 6e 64 73 20 6f |e box co|mmands o|
|00004f10| 66 20 7c 6c 74 62 6f 78 | 65 73 2e 64 74 78 7c 20 |f |ltbox|es.dtx| |
|00004f20| 77 68 65 72 65 0a 25 20 | 75 73 65 72 2d 73 75 70 |where.% |user-sup|
|00004f30| 70 6c 69 65 64 20 74 65 | 78 74 20 69 73 20 73 61 |plied te|xt is sa|
|00004f40| 76 65 64 20 69 6e 74 65 | 72 6e 61 6c 6c 79 20 69 |ved inte|rnally i|
|00004f50| 6e 20 61 20 62 6f 78 20 | 62 65 74 77 65 65 6e 0a |n a box |between.|
|00004f60| 25 20 7c 5c 63 6f 6c 6f | 72 40 62 65 67 69 6e 67 |% |\colo|r@beging|
|00004f70| 72 6f 75 70 7c 2c 20 7c | 5c 63 6f 6c 6f 72 40 65 |roup|, ||\color@e|
|00004f80| 6e 64 67 72 6f 75 70 7c | 2c 20 62 75 74 20 74 68 |ndgroup||, but th|
|00004f90| 65 20 62 6f 78 20 69 73 | 20 75 73 65 64 20 62 65 |e box is| used be|
|00004fa0| 66 6f 72 65 0a 25 20 61 | 6e 79 20 6f 74 68 65 72 |fore.% a|ny other|
|00004fb0| 20 63 6f 6c 6f 75 72 20 | 63 6f 6d 6d 61 6e 64 73 | colour |commands|
|00004fc0| 20 63 6f 75 6c 64 20 69 | 6e 74 65 72 76 65 6e 65 | could i|ntervene|
|00004fd0| 2e 20 41 20 6d 61 74 63 | 68 69 6e 67 0a 25 20 7c |. A matc|hing.% ||
|00004fe0| 5c 63 6f 6c 6f 72 40 65 | 6e 64 67 72 6f 75 70 7c |\color@e|ndgroup||
|00004ff0| 20 73 68 6f 75 6c 64 20 | 62 65 20 75 73 65 64 20 | should |be used |
|00005000| 61 74 20 74 68 65 20 20 | 65 6e 64 20 6f 66 20 74 |at the |end of t|
|00005010| 68 65 20 74 65 78 74 2e | 0a 25 20 5c 63 68 61 6e |he text.|.% \chan|
|00005020| 67 65 73 7b 76 30 2e 32 | 64 7d 7b 31 39 39 34 2f |ges{v0.2|d}{1994/|
|00005030| 30 35 2f 31 33 7d 0a 25 | 20 20 20 20 20 7b 4e 65 |05/13}.%| {Ne|
|00005040| 77 20 64 65 66 69 6e 69 | 74 69 6f 6e 2c 20 77 61 |w defini|tion, wa|
|00005050| 73 20 70 72 65 76 69 6f | 75 73 6c 79 20 6c 69 6b |s previo|usly lik|
|00005060| 65 20 5c 63 73 7b 63 6f | 6c 6f 72 40 73 65 74 67 |e \cs{co|lor@setg|
|00005070| 72 6f 75 70 7d 7d 0a 25 | 20 20 20 20 5c 62 65 67 |roup}}.%| \beg|
|00005080| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 6c |in{macro|code}.\l|
|00005090| 65 74 5c 63 6f 6c 6f 72 | 40 62 65 67 69 6e 67 72 |et\color|@begingr|
|000050a0| 6f 75 70 5c 62 65 67 69 | 6e 67 72 6f 75 70 0a 25 |oup\begi|ngroup.%|
|000050b0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000050c0| 64 65 7d 0a 25 20 20 5c | 65 6e 64 7b 6d 61 63 72 |de}.% \|end{macr|
|000050d0| 6f 7d 0a 25 0a 25 20 20 | 5c 62 65 67 69 6e 7b 6d |o}.%.% |\begin{m|
|000050e0| 61 63 72 6f 7d 7b 5c 63 | 6f 6c 6f 72 40 65 6e 64 |acro}{\c|olor@end|
|000050f0| 67 72 6f 75 70 7d 0a 25 | 20 54 6f 20 62 65 20 75 |group}.%| To be u|
|00005100| 73 65 64 20 74 6f 20 63 | 6c 6f 73 65 20 74 68 65 |sed to c|lose the|
|00005110| 20 60 67 72 6f 75 70 27 | 20 73 74 61 72 74 65 64 | `group'| started|
|00005120| 20 62 79 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 61 | by one |of the a|
|00005130| 62 6f 76 65 20 74 77 6f | 0a 25 20 63 6f 6d 6d 61 |bove two|.% comma|
|00005140| 6e 64 73 2e 20 54 68 65 | 20 7c 5c 65 6e 64 67 72 |nds. The| |\endgr|
|00005150| 61 66 7c 20 69 6e 20 69 | 74 73 20 64 65 66 69 6e |af| in i|ts defin|
|00005160| 69 74 69 6f 6e 20 69 73 | 20 72 65 71 75 69 72 65 |ition is| require|
|00005170| 64 20 69 6e 20 74 68 65 | 20 63 61 73 65 0a 25 20 |d in the| case.% |
|00005180| 6f 66 20 67 72 6f 75 70 | 73 20 6f 66 20 74 65 78 |of group|s of tex|
|00005190| 74 20 69 6e 20 76 65 72 | 74 69 63 61 6c 20 60 70 |t in ver|tical `p|
|000051a0| 61 72 27 20 6d 6f 64 65 | 2c 20 62 75 74 20 64 6f |ar' mode|, but do|
|000051b0| 65 73 6e 27 74 20 64 6f | 20 61 6e 79 20 68 61 72 |esn't do| any har|
|000051c0| 6d 20 69 6e 0a 25 20 68 | 6f 72 69 7a 6f 6e 74 61 |m in.% h|orizonta|
|000051d0| 6c 20 60 4c 52 27 20 63 | 6f 6e 74 65 78 74 73 2e |l `LR' c|ontexts.|
|000051e0| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 30 2e 32 |.% \chan|ges{v0.2|
|000051f0| 64 7d 7b 31 39 39 34 2f | 30 35 2f 31 33 7d 0a 25 |d}{1994/|05/13}.%|
|00005200| 20 20 20 20 20 7b 4e 65 | 77 20 64 65 66 69 6e 69 | {Ne|w defini|
|00005210| 74 69 6f 6e 2c 20 77 61 | 73 20 70 72 65 76 69 6f |tion, wa|s previo|
|00005220| 75 73 6c 79 20 6a 75 73 | 74 20 5c 63 73 7b 65 6e |usly jus|t \cs{en|
|00005230| 64 72 6f 75 70 7d 7d 0a | 25 20 20 20 20 5c 62 65 |droup}}.|% \be|
|00005240| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|00005250| 64 65 66 5c 63 6f 6c 6f | 72 40 65 6e 64 67 72 6f |def\colo|r@endgro|
|00005260| 75 70 7b 5c 65 6e 64 67 | 72 61 66 5c 65 6e 64 67 |up{\endg|raf\endg|
|00005270| 72 6f 75 70 7d 0a 25 20 | 20 20 20 5c 65 6e 64 7b |roup}.% | \end{|
|00005280| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 20 20 5c 65 |macrocod|e}.% \e|
|00005290| 6e 64 7b 6d 61 63 72 6f | 7d 0a 25 0a 25 20 20 5c |nd{macro|}.%.% \|
|000052a0| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 7d 7b 5c 63 6f |begin{ma|cro}{\co|
|000052b0| 6c 6f 72 40 68 62 6f 78 | 7d 0a 25 20 54 6f 20 62 |lor@hbox|}.% To b|
|000052c0| 65 20 75 73 65 64 20 74 | 6f 20 6f 70 65 6e 20 61 |e used t|o open a|
|000052d0| 20 60 63 6f 6c 6f 75 72 | 65 64 20 68 62 6f 78 27 | `colour|ed hbox'|
|000052e0| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 30 2e 33 |.% \chan|ges{v0.3|
|000052f0| 67 7d 7b 31 39 39 34 2f | 31 31 2f 30 38 7d 0a 25 |g}{1994/|11/08}.%|
|00005300| 20 20 20 20 20 7b 4d 61 | 63 72 6f 20 61 64 64 65 | {Ma|cro adde|
|00005310| 64 7d 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |d}.% |\begin{m|
|00005320| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 5c 63 |acrocode|}.\def\c|
|00005330| 6f 6c 6f 72 40 68 62 6f | 78 7b 5c 68 62 6f 78 5c |olor@hbo|x{\hbox\|
|00005340| 62 67 72 6f 75 70 5c 63 | 6f 6c 6f 72 40 62 65 67 |bgroup\c|olor@beg|
|00005350| 69 6e 67 72 6f 75 70 7d | 0a 25 20 20 20 20 5c 65 |ingroup}|.% \e|
|00005360| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 20 |nd{macro|code}.% |
|00005370| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|00005380| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b | \begin|{macro}{|
|00005390| 5c 63 6f 6c 6f 72 40 76 | 62 6f 78 7d 0a 25 20 54 |\color@v|box}.% T|
|000053a0| 6f 20 62 65 20 75 73 65 | 64 20 74 6f 20 6f 70 65 |o be use|d to ope|
|000053b0| 6e 20 61 20 60 63 6f 6c | 6f 75 72 65 64 20 68 62 |n a `col|oured hb|
|000053c0| 6f 78 27 0a 25 20 5c 63 | 68 61 6e 67 65 73 7b 76 |ox'.% \c|hanges{v|
|000053d0| 30 2e 33 68 7d 7b 31 39 | 39 34 2f 31 31 2f 32 32 |0.3h}{19|94/11/22|
|000053e0| 7d 0a 25 20 20 20 20 20 | 7b 4d 61 63 72 6f 20 61 |}.% |{Macro a|
|000053f0| 64 64 65 64 7d 0a 25 20 | 20 20 20 5c 62 65 67 69 |dded}.% | \begi|
|00005400| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00005410| 66 5c 63 6f 6c 6f 72 40 | 76 62 6f 78 7b 5c 76 62 |f\color@|vbox{\vb|
|00005420| 6f 78 5c 62 67 72 6f 75 | 70 5c 63 6f 6c 6f 72 40 |ox\bgrou|p\color@|
|00005430| 62 65 67 69 6e 67 72 6f | 75 70 7d 0a 25 20 20 20 |begingro|up}.% |
|00005440| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00005450| 0a 25 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |.% \end|{macro}.|
|00005460| 25 0a 25 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |%.% \be|gin{macr|
|00005470| 6f 7d 7b 5c 63 6f 6c 6f | 72 40 65 6e 64 62 6f 78 |o}{\colo|r@endbox|
|00005480| 7d 0a 25 20 54 6f 20 62 | 65 20 75 73 65 64 20 74 |}.% To b|e used t|
|00005490| 6f 20 63 6c 6f 73 65 20 | 61 20 60 63 6f 6c 6f 75 |o close |a `colou|
|000054a0| 72 65 64 20 68 62 6f 78 | 27 0a 25 20 5c 63 68 61 |red hbox|'.% \cha|
|000054b0| 6e 67 65 73 7b 76 30 2e | 33 67 7d 7b 31 39 39 34 |nges{v0.|3g}{1994|
|000054c0| 2f 31 31 2f 30 38 7d 0a | 25 20 20 20 20 20 7b 4d |/11/08}.|% {M|
|000054d0| 61 63 72 6f 20 61 64 64 | 65 64 7d 0a 25 20 20 20 |acro add|ed}.% |
|000054e0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|000054f0| 65 7d 0a 5c 64 65 66 5c | 63 6f 6c 6f 72 40 65 6e |e}.\def\|color@en|
|00005500| 64 62 6f 78 7b 5c 63 6f | 6c 6f 72 40 65 6e 64 67 |dbox{\co|lor@endg|
|00005510| 72 6f 75 70 5c 65 67 72 | 6f 75 70 7d 0a 25 20 20 |roup\egr|oup}.% |
|00005520| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00005530| 7d 0a 25 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 7d |}.% \en|d{macro}|
|00005540| 0a 25 0a 25 20 5c 73 65 | 63 74 69 6f 6e 7b 52 65 |.%.% \se|ction{Re|
|00005550| 6d 61 69 6e 69 6e 67 20 | 63 68 61 6e 67 65 73 7d |maining |changes}|
|00005560| 0a 25 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 30 |.%.% \ch|anges{v0|
|00005570| 2e 32 64 7d 7b 31 39 39 | 34 2f 30 35 2f 31 33 7d |.2d}{199|4/05/13}|
|00005580| 0a 25 20 20 20 20 20 7b | 74 61 62 62 69 6e 67 20 |.% {|tabbing |
|00005590| 73 75 70 70 6f 72 74 20 | 72 65 6d 6f 76 65 64 20 |support |removed |
|000055a0| 28 6e 6f 77 20 69 6e 20 | 6b 65 72 6e 65 6c 29 7d |(now in |kernel)}|
|000055b0| 0a 25 0a 25 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |.%.% \be|gin{macr|
|000055c0| 6f 7d 7b 5c 75 6e 64 65 | 72 62 61 72 7d 0a 25 20 |o}{\unde|rbar}.% |
|000055d0| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|000055e0| 6f 64 65 7d 0a 5c 64 65 | 66 5c 75 6e 64 65 72 62 |ode}.\de|f\underb|
|000055f0| 61 72 23 31 7b 25 0a 20 | 20 24 5c 73 65 74 62 6f |ar#1{%. | $\setbo|
|00005600| 78 5c 7a 40 5c 68 62 6f | 78 7b 5c 63 6f 6c 6f 72 |x\z@\hbo|x{\color|
|00005610| 40 62 65 67 69 6e 67 72 | 6f 75 70 23 31 5c 63 6f |@begingr|oup#1\co|
|00005620| 6c 6f 72 40 65 6e 64 67 | 72 6f 75 70 7d 25 0a 20 |lor@endg|roup}%. |
|00005630| 20 5c 64 70 5c 7a 40 5c | 7a 40 5c 6d 40 74 68 5c | \dp\z@\|z@\m@th\|
|00005640| 75 6e 64 65 72 6c 69 6e | 65 7b 5c 62 6f 78 5c 7a |underlin|e{\box\z|
|00005650| 40 7d 24 7d 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |@}$}.% | \end{m|
|00005660| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 20 20 5c 65 6e |acrocode|}.% \en|
|00005670| 64 7b 6d 61 63 72 6f 7d | 0a 25 0a 25 20 5c 63 68 |d{macro}|.%.% \ch|
|00005680| 61 6e 67 65 73 7b 76 30 | 2e 33 68 7d 7b 31 39 39 |anges{v0|.3h}{199|
|00005690| 34 2f 31 31 2f 32 32 7d | 0a 25 20 20 20 20 20 7b |4/11/22}|.% {|
|000056a0| 6d 61 72 67 69 6e 70 61 | 72 2c 20 70 68 61 6e 74 |marginpa|r, phant|
|000056b0| 6f 6d 20 61 6e 64 20 73 | 6d 61 73 68 20 6e 6f 77 |om and s|mash now|
|000056c0| 20 73 75 70 70 6f 72 74 | 65 64 20 69 6e 20 6b 65 | support|ed in ke|
|000056d0| 72 6e 65 6c 7d 0a 25 0a | 25 20 5c 62 65 67 69 6e |rnel}.%.|% \begin|
|000056e0| 7b 6d 61 63 72 6f 7d 7b | 5c 73 68 6f 77 68 79 70 |{macro}{|\showhyp|
|000056f0| 68 65 6e 73 7d 0a 25 20 | 20 20 20 5c 62 65 67 69 |hens}.% | \begi|
|00005700| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00005710| 66 5c 73 68 6f 77 68 79 | 70 68 65 6e 73 23 31 7b |f\showhy|phens#1{|
|00005720| 5c 73 65 74 62 6f 78 30 | 5c 76 62 6f 78 7b 25 0a |\setbox0|\vbox{%.|
|00005730| 20 20 5c 63 6f 6c 6f 72 | 40 62 65 67 69 6e 67 72 | \color|@begingr|
|00005740| 6f 75 70 0a 20 20 5c 70 | 61 72 66 69 6c 6c 73 6b |oup. \p|arfillsk|
|00005750| 69 70 5c 7a 40 73 6b 69 | 70 5c 68 73 69 7a 65 5c |ip\z@ski|p\hsize\|
|00005760| 6d 61 78 64 69 6d 65 6e | 0a 20 20 5c 72 65 73 65 |maxdimen|. \rese|
|00005770| 74 40 66 6f 6e 74 0a 20 | 20 5c 70 72 65 74 6f 6c |t@font. | \pretol|
|00005780| 65 72 61 6e 63 65 5c 6d | 40 6e 65 5c 74 6f 6c 65 |erance\m|@ne\tole|
|00005790| 72 61 6e 63 65 5c 6d 40 | 6e 65 5c 68 62 61 64 6e |rance\m@|ne\hbadn|
|000057a0| 65 73 73 30 5c 73 68 6f | 77 62 6f 78 64 65 70 74 |ess0\sho|wboxdept|
|000057b0| 68 30 5c 20 25 0a 20 20 | 20 20 23 31 25 0a 20 20 |h0\ %. | #1%. |
|000057c0| 5c 63 6f 6c 6f 72 40 65 | 6e 64 67 72 6f 75 70 7d |\color@e|ndgroup}|
|000057d0| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|000057e0| 6f 63 6f 64 65 7d 0a 25 | 20 20 5c 65 6e 64 7b 6d |ocode}.%| \end{m|
|000057f0| 61 63 72 6f 7d 0a 25 0a | 25 0a 25 20 5c 73 65 63 |acro}.%.|%.% \sec|
|00005800| 74 69 6f 6e 7b 50 72 65 | 64 65 66 69 6e 69 6e 67 |tion{Pre|defining|
|00005810| 20 43 6f 6c 6f 75 72 73 | 7d 0a 25 0a 25 20 41 73 | Colours|}.%.% As|
|00005820| 20 6c 6f 6e 67 20 61 73 | 20 74 68 65 20 64 72 69 | long as| the dri|
|00005830| 76 65 72 20 66 69 6c 65 | 20 68 61 73 20 64 65 66 |ver file| has def|
|00005840| 69 6e 65 64 20 73 75 66 | 66 69 63 69 65 6e 74 20 |ined suf|ficient |
|00005850| 63 6f 6c 6f 75 72 20 6d | 6f 64 65 6c 73 2c 20 77 |colour m|odels, w|
|00005860| 65 0a 25 20 64 65 66 69 | 6e 65 20 61 20 66 65 77 |e.% defi|ne a few|
|00005870| 20 63 6f 6c 6f 75 72 73 | 2c 20 6a 75 73 74 20 74 | colours|, just t|
|00005880| 6f 20 67 65 74 20 70 65 | 6f 70 6c 65 20 73 74 61 |o get pe|ople sta|
|00005890| 72 74 65 64 2e 0a 25 0a | 25 20 5c 62 65 67 69 6e |rted..%.|% \begin|
|000058a0| 7b 6d 61 63 72 6f 7d 7b | 62 6c 61 63 6b 7d 0a 25 |{macro}{|black}.%|
|000058b0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 77 | \begin{|macro}{w|
|000058c0| 68 69 74 65 7d 0a 25 20 | 42 6c 61 63 6b 20 61 6e |hite}.% |Black an|
|000058d0| 64 20 77 68 69 74 65 20 | 60 63 6f 6c 6f 75 72 73 |d white |`colours|
|000058e0| 27 2e 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |'..% |\begin{m|
|000058f0| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 69 66 78 5c 63 |acrocode|}.\ifx\c|
|00005900| 6f 6c 6f 72 40 67 72 61 | 79 5c 40 75 6e 64 65 66 |olor@gra|y\@undef|
|00005910| 69 6e 65 64 0a 20 20 5c | 69 66 78 5c 63 6f 6c 6f |ined. \|ifx\colo|
|00005920| 72 40 72 67 62 5c 40 75 | 6e 64 65 66 69 6e 65 64 |r@rgb\@u|ndefined|
|00005930| 0a 20 20 5c 65 6c 73 65 | 0a 20 20 20 20 5c 64 65 |. \else|. \de|
|00005940| 66 69 6e 65 63 6f 6c 6f | 72 7b 62 6c 61 63 6b 7d |finecolo|r{black}|
|00005950| 7b 72 67 62 7d 7b 30 2c | 30 2c 30 7d 0a 20 20 20 |{rgb}{0,|0,0}. |
|00005960| 20 5c 64 65 66 69 6e 65 | 63 6f 6c 6f 72 7b 77 68 | \define|color{wh|
|00005970| 69 74 65 7d 7b 72 67 62 | 7d 7b 31 2c 31 2c 31 7d |ite}{rgb|}{1,1,1}|
|00005980| 0a 20 20 5c 66 69 0a 5c | 65 6c 73 65 0a 20 20 5c |. \fi.\|else. \|
|00005990| 64 65 66 69 6e 65 63 6f | 6c 6f 72 7b 62 6c 61 63 |defineco|lor{blac|
|000059a0| 6b 7d 7b 67 72 61 79 7d | 7b 30 7d 0a 20 20 5c 64 |k}{gray}|{0}. \d|
|000059b0| 65 66 69 6e 65 63 6f 6c | 6f 72 7b 77 68 69 74 65 |efinecol|or{white|
|000059c0| 7d 7b 67 72 61 79 7d 7b | 31 7d 0a 5c 66 69 0a 25 |}{gray}{|1}.\fi.%|
|000059d0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000059e0| 64 65 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |de}.% \e|nd{macro|
|000059f0| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|00005a00| 25 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |%.% \beg|in{macro|
|00005a10| 7d 7b 72 65 64 7d 0a 25 | 20 5c 62 65 67 69 6e 7b |}{red}.%| \begin{|
|00005a20| 6d 61 63 72 6f 7d 7b 67 | 72 65 65 6e 7d 0a 25 20 |macro}{g|reen}.% |
|00005a30| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 62 6c |\begin{m|acro}{bl|
|00005a40| 75 65 7d 0a 25 20 41 64 | 64 69 74 69 76 65 20 70 |ue}.% Ad|ditive p|
|00005a50| 72 69 6d 61 72 69 65 73 | 2e 0a 25 20 20 20 20 5c |rimaries|..% \|
|00005a60| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00005a70| 0a 5c 69 66 78 5c 63 6f | 6c 6f 72 40 72 67 62 5c |.\ifx\co|lor@rgb\|
|00005a80| 40 75 6e 64 65 66 69 6e | 65 64 5c 65 6c 73 65 0a |@undefin|ed\else.|
|00005a90| 20 20 5c 64 65 66 69 6e | 65 63 6f 6c 6f 72 7b 72 | \defin|ecolor{r|
|00005aa0| 65 64 7d 7b 72 67 62 7d | 7b 31 2c 30 2c 30 7d 0a |ed}{rgb}|{1,0,0}.|
|00005ab0| 20 20 5c 64 65 66 69 6e | 65 63 6f 6c 6f 72 7b 67 | \defin|ecolor{g|
|00005ac0| 72 65 65 6e 7d 7b 72 67 | 62 7d 7b 30 2c 31 2c 30 |reen}{rg|b}{0,1,0|
|00005ad0| 7d 0a 20 20 5c 64 65 66 | 69 6e 65 63 6f 6c 6f 72 |}. \def|inecolor|
|00005ae0| 7b 62 6c 75 65 7d 7b 72 | 67 62 7d 7b 30 2c 30 2c |{blue}{r|gb}{0,0,|
|00005af0| 31 7d 0a 5c 66 69 0a 25 | 20 20 20 20 5c 65 6e 64 |1}.\fi.%| \end|
|00005b00| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 5c 65 |{macroco|de}.% \e|
|00005b10| 6e 64 7b 6d 61 63 72 6f | 7d 0a 25 20 5c 65 6e 64 |nd{macro|}.% \end|
|00005b20| 7b 6d 61 63 72 6f 7d 0a | 25 20 5c 65 6e 64 7b 6d |{macro}.|% \end{m|
|00005b30| 61 63 72 6f 7d 0a 25 0a | 25 20 5c 62 65 67 69 6e |acro}.%.|% \begin|
|00005b40| 7b 6d 61 63 72 6f 7d 7b | 63 79 61 6e 7d 0a 25 20 |{macro}{|cyan}.% |
|00005b50| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 6d 61 |\begin{m|acro}{ma|
|00005b60| 67 65 6e 74 61 7d 0a 25 | 20 5c 62 65 67 69 6e 7b |genta}.%| \begin{|
|00005b70| 6d 61 63 72 6f 7d 7b 79 | 65 6c 6c 6f 77 7d 0a 25 |macro}{y|ellow}.%|
|00005b80| 20 53 75 62 74 72 61 63 | 74 69 76 65 20 70 72 69 | Subtrac|tive pri|
|00005b90| 6d 61 72 69 65 73 2e 0a | 25 20 20 20 20 5c 62 65 |maries..|% \be|
|00005ba0| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|00005bb0| 69 66 78 5c 63 6f 6c 6f | 72 40 63 6d 79 6b 5c 40 |ifx\colo|r@cmyk\@|
|00005bc0| 75 6e 64 65 66 69 6e 65 | 64 5c 65 6c 73 65 0a 20 |undefine|d\else. |
|00005bd0| 20 5c 64 65 66 69 6e 65 | 63 6f 6c 6f 72 7b 63 79 | \define|color{cy|
|00005be0| 61 6e 7d 7b 63 6d 79 6b | 7d 7b 31 2c 30 2c 30 2c |an}{cmyk|}{1,0,0,|
|00005bf0| 30 7d 0a 20 20 5c 64 65 | 66 69 6e 65 63 6f 6c 6f |0}. \de|finecolo|
|00005c00| 72 7b 6d 61 67 65 6e 74 | 61 7d 7b 63 6d 79 6b 7d |r{magent|a}{cmyk}|
|00005c10| 7b 30 2c 31 2c 30 2c 30 | 7d 0a 20 20 5c 64 65 66 |{0,1,0,0|}. \def|
|00005c20| 69 6e 65 63 6f 6c 6f 72 | 7b 79 65 6c 6c 6f 77 7d |inecolor|{yellow}|
|00005c30| 7b 63 6d 79 6b 7d 7b 30 | 2c 30 2c 31 2c 30 7d 0a |{cmyk}{0|,0,1,0}.|
|00005c40| 5c 66 69 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |\fi.% | \end{ma|
|00005c50| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 20 20 20 |crocode}|.%.% |
|00005c60| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00005c70| 7d 0a 25 3c 2f 70 61 63 | 6b 61 67 65 3e 0a 25 20 |}.%</pac|kage>.% |
|00005c80| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|00005c90| 65 7d 0a 25 20 5c 65 6e | 64 7b 6d 61 63 72 6f 7d |e}.% \en|d{macro}|
|00005ca0| 0a 25 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |.% \end{|macro}.%|
|00005cb0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|00005cc0| 0a 25 20 5c 73 65 63 74 | 69 6f 6e 7b 41 6e 64 20 |.% \sect|ion{And |
|00005cd0| 46 69 6e 61 6c 6c 79 7d | 0a 25 0a 25 20 52 65 73 |Finally}|.%.% Res|
|00005ce0| 74 6f 72 65 20 43 61 74 | 63 6f 64 65 73 0a 25 20 |tore Cat|codes.% |
|00005cf0| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00005d00| 6f 64 65 7d 0a 5c 47 69 | 6e 40 63 6f 64 65 73 0a |ode}.\Gi|n@codes.|
|00005d10| 5c 6c 65 74 5c 47 69 6e | 40 63 6f 64 65 73 5c 72 |\let\Gin|@codes\r|
|00005d20| 65 6c 61 78 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |elax.% | \end{m|
|00005d30| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 0a 25 20 5c 46 |acrocode|}.%.% \F|
|00005d40| 69 6e 61 6c 65 0a 25 0a | |inale.%.| |
+--------+-------------------------+-------------------------+--------+--------+